Plasma Engine  2.0
Loading...
Searching...
No Matches
plConeVisualizerAttribute Class Reference
Inheritance diagram for plConeVisualizerAttribute:

Public Member Functions

 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 plUntrackedStringGetAngleProperty () const
 
const plUntrackedStringGetRadiusProperty () const
 
const plUntrackedStringGetColorProperty () const
 
- Public Member Functions inherited from plVisualizerAttribute
 plVisualizerAttribute (const char *szProperty1, const char *szProperty2=nullptr, const char *szProperty3=nullptr, const char *szProperty4=nullptr, const char *szProperty5=nullptr)
 
- 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.
 

Public Attributes

plEnum< plBasisAxism_Axis
 
plColor m_Color
 
float m_fScale
 
- Public Attributes inherited from plVisualizerAttribute
plUntrackedString m_sProperty1
 
plUntrackedString m_sProperty2
 
plUntrackedString m_sProperty3
 
plUntrackedString m_sProperty4
 
plUntrackedString m_sProperty5
 
plBitflags< plVisualizerAnchorm_Anchor
 

Additional Inherited Members

- Static Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 

Constructor & Destructor Documentation

◆ 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: