![]() |
XII Release 0.1.0
|
A property attribute that indicates that the string property is actually an asset reference. More...
#include <PropertyAttributes.h>
Public Member Functions | |
xiiAssetBrowserAttribute (xiiStringView sTypeFilter, xiiBitflags< xiiDependencyFlags > depencyFlags=xiiDependencyFlags::Thumbnail|xiiDependencyFlags::Package) | |
xiiAssetBrowserAttribute (xiiStringView sTypeFilter, xiiStringView sRequiredTag, xiiBitflags< xiiDependencyFlags > depencyFlags=xiiDependencyFlags::Thumbnail|xiiDependencyFlags::Package) | |
void | SetTypeFilter (xiiStringView sTypeFilter) |
xiiStringView | GetTypeFilter () const |
xiiBitflags< xiiDependencyFlags > | GetDependencyFlags () const |
xiiStringView | GetRequiredTag () const |
![]() | |
virtual const xiiRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const xiiRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T> | |
XII_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 xiiRTTI * | 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: XII_MEMBER_PROPERTY("Texture", m_sTexture)->AddAttributes(new xiiAssetBrowserAttribute("Texture 2D;Texture 3D")),