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

Add this attribute to a variant map property to make it map to the exposed parameters of an asset. For this, the member property name of the asset reference needs to be passed in. The exposed parameters of the currently set asset on that property will be used as the source. More...

#include <PropertyAttributes.h>

Inheritance diagram for xiiExposedParametersAttribute:
[legend]

Public Member Functions

 xiiExposedParametersAttribute (xiiStringView sParametersSource)
 
xiiStringView GetParametersSource () 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

Add this attribute to a variant map property to make it map to the exposed parameters of an asset. For this, the member property name of the asset reference needs to be passed in. The exposed parameters of the currently set asset on that property will be used as the source.

Usage: XII_ACCESSOR_PROPERTY("Effect", GetParticleEffectFile, SetParticleEffectFile)->AddAttributes(new xiiAssetBrowserAttribute("Particle Effect")), XII_MAP_ACCESSOR_PROPERTY("Parameters",...)->AddAttributes(new xiiExposedParametersAttribute("Effect")),


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