|
| plConeVisualizerAttribute (plEnum< plBasisAxis > axis, const char *szAngleProperty, float fScale, const char *szRadiusProperty, const plColor &fixedColor=plColorScheme::LightUI(plColorScheme::Grape), const char *szColorProperty=nullptr) |
| Attribute to add on an RTTI type to add a cone visualizer for specific properties.
|
|
const plUntrackedString & | GetAngleProperty () const |
|
const plUntrackedString & | GetRadiusProperty () const |
|
const plUntrackedString & | GetColorProperty () const |
|
| plVisualizerAttribute (const char *szProperty1, const char *szProperty2=nullptr, const char *szProperty3=nullptr, const char *szProperty4=nullptr, const char *szProperty5=nullptr) |
|
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.
|
|
|
static const plRTTI * | GetStaticRTTI () |
|
◆ plConeVisualizerAttribute()
plConeVisualizerAttribute::plConeVisualizerAttribute |
( |
plEnum< plBasisAxis > | axis, |
|
|
const char * | szAngleProperty, |
|
|
float | fScale, |
|
|
const char * | szRadiusProperty, |
|
|
const plColor & | fixedColor = plColorScheme::LightUI(plColorScheme::Grape), |
|
|
const char * | szColorProperty = nullptr ) |
Attribute to add on an RTTI type to add a cone visualizer for specific properties.
szRadiusProperty may be nullptr, in which case it is assumed to be 1 fScale will be multiplied with value of szRadiusProperty to determine the size of the cone szColorProperty may be nullptr. In this case it is ignored and fixedColor is used instead. fixedColor is ignored if szColorProperty is valid.
The documentation for this class was generated from the following files:
- Code/Engine/Foundation/Reflection/Implementation/PropertyAttributes.h
- Code/Engine/Foundation/Reflection/Implementation/PropertyAttributes.cpp