XII Release 0.1.0
Loading...
Searching...
No Matches
xiiConeVisualizerAttribute Class Reference
Inheritance diagram for xiiConeVisualizerAttribute:
[legend]

Public Member Functions

 xiiConeVisualizerAttribute (xiiEnum< xiiBasisAxis > axis, xiiStringView sAngleProperty, float fScale, xiiStringView sRadiusProperty, const xiiColor &fixedColor=xiiColorScheme::LightUI(xiiColorScheme::Grape), xiiStringView sColorProperty={})
 Attribute to add on an RTTI type to add a cone visualizer for specific properties.
 
const xiiUntrackedStringGetAngleProperty () const
 
const xiiUntrackedStringGetRadiusProperty () const
 
const xiiUntrackedStringGetColorProperty () const
 
- Public Member Functions inherited from xiiVisualizerAttribute
 xiiVisualizerAttribute (xiiStringView sProperty1, xiiStringView sProperty2={}, xiiStringView sProperty3={}, xiiStringView sProperty4={}, xiiStringView sProperty5={})
 
- Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const xiiRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T>
XII_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Public Attributes

xiiEnum< xiiBasisAxism_Axis
 
xiiColor m_Color
 
float m_fScale
 
- Public Attributes inherited from xiiVisualizerAttribute
xiiUntrackedString m_sProperty1
 
xiiUntrackedString m_sProperty2
 
xiiUntrackedString m_sProperty3
 
xiiUntrackedString m_sProperty4
 
xiiUntrackedString m_sProperty5
 
xiiBitflags< xiiVisualizerAnchorm_Anchor
 

Additional Inherited Members

- Static Public Member Functions inherited from xiiNoBase
static const xiiRTTIGetStaticRTTI ()
 

Constructor & Destructor Documentation

◆ xiiConeVisualizerAttribute()

xiiConeVisualizerAttribute::xiiConeVisualizerAttribute ( xiiEnum< xiiBasisAxis > axis,
xiiStringView sAngleProperty,
float fScale,
xiiStringView sRadiusProperty,
const xiiColor & fixedColor = xiiColorScheme::LightUI(xiiColorScheme::Grape),
xiiStringView sColorProperty = {} )

Attribute to add on an RTTI type to add a cone visualizer for specific properties.

sRadiusProperty may be nullptr, in which case it is assumed to be 1 fScale will be multiplied with value of sRadiusProperty to determine the size of the cone sColorProperty may be nullptr. In this case it is ignored and fixedColor is used instead. fixedColor is ignored if sColorProperty is valid.


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