![]() |
ezEngine
Release 25.03
|
A property attribute that indicates that the string property is actually an asset reference. More...
#include <PropertyAttributes.h>
Public Member Functions | |
ezAssetBrowserAttribute (const char *szTypeFilter, ezBitflags< ezDependencyFlags > depencyFlags=ezDependencyFlags::Thumbnail|ezDependencyFlags::Package) | |
ezAssetBrowserAttribute (const char *szTypeFilter, const char *szRequiredTag, ezBitflags< ezDependencyFlags > depencyFlags=ezDependencyFlags::Thumbnail|ezDependencyFlags::Package) | |
void | SetTypeFilter (const char *szTypeFilter) |
const char * | GetTypeFilter () const |
ezBitflags< ezDependencyFlags > | GetDependencyFlags () const |
const char * | GetRequiredTag () const |
![]() | |
virtual const ezRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const ezRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T > | |
EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
Returns whether the type of this instance is of the given type or derived from it. | |
Additional Inherited Members | |
![]() | |
static const ezRTTI * | GetStaticRTTI () |
A property attribute that indicates that the string property is actually an asset reference.
Allows to specify the allowed asset types, separated with ; Usage: EZ_MEMBER_PROPERTY("Texture", m_sTexture)->AddAttributes(new ezAssetBrowserAttribute("Texture 2D;Texture 3D")),