ezEngine  Release 25.03
ezAssetBrowserAttribute Class Reference

A property attribute that indicates that the string property is actually an asset reference. More...

#include <PropertyAttributes.h>

Inheritance diagram for ezAssetBrowserAttribute:

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< ezDependencyFlagsGetDependencyFlags () const
 
const char * GetRequiredTag () const
 
- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () 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 Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 

Detailed Description

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")),


The documentation for this class was generated from the following file: