![]() |
ezEngine Release 25.08
|
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 | |
ezExposedParametersAttribute (const char *szParametersSource) | |
const char * | GetParametersSource () const |
![]() | |
virtual const ezRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const ezRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T > | |
EZ_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 ezRTTI * | 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: EZ_ACCESSOR_PROPERTY("Effect", GetParticleEffectFile, SetParticleEffectFile)->AddAttributes(new ezAssetBrowserAttribute("Particle Effect")), EZ_MAP_ACCESSOR_PROPERTY("Parameters",...)->AddAttributes(new ezExposedParametersAttribute("Effect")),