![]() |
Plasma Engine
2.0
|
A property attribute that indicates that the string property is actually an asset reference. More...
#include <PropertyAttributes.h>
Public Member Functions | |
plAssetBrowserAttribute (const char *szTypeFilter, plBitflags< plDependencyFlags > depencyFlags=plDependencyFlags::Thumbnail|plDependencyFlags::Package) | |
plAssetBrowserAttribute (const char *szTypeFilter, const char *szRequiredTag, plBitflags< plDependencyFlags > depencyFlags=plDependencyFlags::Thumbnail|plDependencyFlags::Package) | |
void | SetTypeFilter (const char *szTypeFilter) |
const char * | GetTypeFilter () const |
plBitflags< plDependencyFlags > | GetDependencyFlags () const |
const char * | GetRequiredTag () const |
![]() | |
virtual const plRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const plRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T > | |
PL_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 plRTTI * | 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: PL_MEMBER_PROPERTY("Texture", m_sTexture)->AddAttributes(new plAssetBrowserAttribute("Texture 2D;Texture 3D")),