![]() |
Plasma Engine
2.0
|
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>
Public Member Functions | |
plExposedParametersAttribute (const char *szParametersSource) | |
const char * | GetParametersSource () 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 () |
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: PL_ACCESSOR_PROPERTY("Effect", GetParticleEffectFile, SetParticleEffectFile)->AddAttributes(new plAssetBrowserAttribute("Particle Effect")), PL_MAP_ACCESSOR_PROPERTY("Parameters",...)->AddAttributes(new plExposedParametersAttribute("Effect")),