![]() |
XII Release 0.1.0
|
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 xiiUntrackedString & | GetAngleProperty () const |
const xiiUntrackedString & | GetRadiusProperty () const |
const xiiUntrackedString & | GetColorProperty () const |
![]() | |
xiiVisualizerAttribute (xiiStringView sProperty1, xiiStringView sProperty2={}, xiiStringView sProperty3={}, xiiStringView sProperty4={}, xiiStringView sProperty5={}) | |
![]() | |
virtual const xiiRTTI * | GetDynamicRTTI () 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< xiiBasisAxis > | m_Axis |
xiiColor | m_Color |
float | m_fScale |
![]() | |
xiiUntrackedString | m_sProperty1 |
xiiUntrackedString | m_sProperty2 |
xiiUntrackedString | m_sProperty3 |
xiiUntrackedString | m_sProperty4 |
xiiUntrackedString | m_sProperty5 |
xiiBitflags< xiiVisualizerAnchor > | m_Anchor |
Additional Inherited Members | |
![]() | |
static const xiiRTTI * | GetStaticRTTI () |
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.