XII Release 0.1.0
Loading...
Searching...
No Matches
xiiAssetBrowserAttribute Class Reference

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

#include <PropertyAttributes.h>

Inheritance diagram for xiiAssetBrowserAttribute:
[legend]

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< xiiDependencyFlagsGetDependencyFlags () const
 
xiiStringView GetRequiredTag () const
 
- Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTIGetDynamicRTTI () 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 Public Member Functions inherited from xiiNoBase
static const xiiRTTIGetStaticRTTI ()
 

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: XII_MEMBER_PROPERTY("Texture", m_sTexture)->AddAttributes(new xiiAssetBrowserAttribute("Texture 2D;Texture 3D")),


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