Plasma Engine  2.0
Loading...
Searching...
No Matches
plExposedParametersAttribute 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 plExposedParametersAttribute:

Public Member Functions

 plExposedParametersAttribute (const char *szParametersSource)
 
const char * GetParametersSource () 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

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")),


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