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

Spot light settings. More...

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

Public Member Functions

bool matches (float cutoffAngle, float innerAngle)
 Indicates whether the current state matches given settings.
 
 SpotLightSettings (float cutoffAngle, float innerAngle)
 Constructor.
 

Protected Attributes

float m_cutoffAngle
 Cutoff angle.
 
float m_innerAngle
 Inner angle.
 

Detailed Description

Spot light settings.

Constructor & Destructor Documentation

◆ SpotLightSettings()

kanzi::DebugVisualization::SpotLightSettings::SpotLightSettings ( float cutoffAngle,
float innerAngle )
inlineexplicit

Constructor.

Parameters
cutoffAngleSpot light cutoff angle.
innerAngleSpot light inner angle.

Member Function Documentation

◆ matches()

bool kanzi::DebugVisualization::SpotLightSettings::matches ( float cutoffAngle,
float innerAngle )
inline

Indicates whether the current state matches given settings.

Parameters
cutoffAngleSpot light cutoff angle.
innerAngleSpot light inner angle.

Member Data Documentation

◆ m_cutoffAngle

float kanzi::DebugVisualization::SpotLightSettings::m_cutoffAngle
protected

Cutoff angle.

◆ m_innerAngle

float kanzi::DebugVisualization::SpotLightSettings::m_innerAngle
protected

Inner angle.


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