Kanzi 4.0.0-beta2
kanzi::DebugVisualization::DirectionalLightSettings Class Reference

Directional light settings. More...

#include <kanzi/core.ui/node/debug_visualization.hpp>

Public Member Functions

 DirectionalLightSettings (float endPointDistance, float lineHeadLength, float debugSphereRadius, float debugConeRadius)
 Constructor.
 
bool matches (float endPointDistance, float lineHeadLength, float debugSphereRadius, float debugConeRadius)
 Indicates whether the current state matches given settings.
 

Protected Attributes

float m_debugConeRadius
 Cone radius.
 
float m_debugSphereRadius
 Sphere radius.
 
float m_endPointDistance
 End point distance.
 
float m_lineHeadLength
 Head length.
 

Detailed Description

Directional light settings.

Constructor & Destructor Documentation

◆ DirectionalLightSettings()

kanzi::DebugVisualization::DirectionalLightSettings::DirectionalLightSettings ( float endPointDistance,
float lineHeadLength,
float debugSphereRadius,
float debugConeRadius )
inlineexplicit

Constructor.

Parameters
endPointDistanceLength (towards negative direction) for the light arrow.
lineHeadLengthLength of the arrow head.
debugSphereRadiusRadius of the visualization sphere.
debugConeRadiusRadius of the visualization cone.

Member Function Documentation

◆ matches()

bool kanzi::DebugVisualization::DirectionalLightSettings::matches ( float endPointDistance,
float lineHeadLength,
float debugSphereRadius,
float debugConeRadius )
inline

Indicates whether the current state matches given settings.

Parameters
endPointDistanceLength (towards negative direction) for the light arrow.
lineHeadLengthLength of the arrow head.
debugSphereRadiusRadius of the visualization sphere.
debugConeRadiusRadius of the visualization cone.

Member Data Documentation

◆ m_endPointDistance

float kanzi::DebugVisualization::DirectionalLightSettings::m_endPointDistance
protected

End point distance.

◆ m_lineHeadLength

float kanzi::DebugVisualization::DirectionalLightSettings::m_lineHeadLength
protected

Head length.

◆ m_debugSphereRadius

float kanzi::DebugVisualization::DirectionalLightSettings::m_debugSphereRadius
protected

Sphere radius.

◆ m_debugConeRadius

float kanzi::DebugVisualization::DirectionalLightSettings::m_debugConeRadius
protected

Cone radius.


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