Plasma Engine  2.0
Loading...
Searching...
No Matches
plAssetBrowserAttribute Class Reference

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

#include <PropertyAttributes.h>

Inheritance diagram for plAssetBrowserAttribute:

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< plDependencyFlagsGetDependencyFlags () const
 
const char * GetRequiredTag () const
 
- Public Member Functions inherited from plReflectedClass
virtual const plRTTIGetDynamicRTTI () 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 Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 

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


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