gz/rendering/base/BaseLightVisual.hh
virtual void Init() override
Definition: gz/rendering/base/BaseLightVisual.hh:106
Represents a light visual.
Definition: gz/rendering/LightVisual.hh:49
virtual void SetOuterAngle(double _innerAngle) override
Set outer angle for spot lights.
Definition: gz/rendering/base/BaseLightVisual.hh:143
STL class.
BaseLightVisual()
Constructor.
Definition: gz/rendering/base/BaseLightVisual.hh:87
virtual void SetInnerAngle(double _innerAngle) override
Set inner angle for spot lights.
Definition: gz/rendering/base/BaseLightVisual.hh:128
double outerAngle
Outer angle for spot lights.
Definition: gz/rendering/base/BaseLightVisual.hh:79
virtual ~BaseLightVisual()
Destructor.
Definition: gz/rendering/base/BaseLightVisual.hh:93
virtual void SetType(LightVisualType _type) override
set type of the light
Definition: gz/rendering/base/BaseLightVisual.hh:113
LightVisualType type
Type of light visual.
Definition: gz/rendering/base/BaseLightVisual.hh:73
virtual void PreRender() override
Prepare this object and any of its children for rendering. This should be called for each object in a...
Definition: gz/rendering/base/BaseLightVisual.hh:99
bool dirtyLightVisual
Flag to indicate light properties have changed.
Definition: gz/rendering/base/BaseLightVisual.hh:82
virtual LightVisualType Type() override
Get light visual type.
Definition: gz/rendering/base/BaseLightVisual.hh:121
Base implementation of a light visual.
Definition: gz/rendering/base/BaseLightVisual.hh:35
double innerAngle
Inner angle for spot lights.
Definition: gz/rendering/base/BaseLightVisual.hh:76
T emplace_back(T... args)
virtual double InnerAngle() override
Get inner angle.
Definition: gz/rendering/base/BaseLightVisual.hh:136
virtual double OuterAngle() override
Get outer angle.
Definition: gz/rendering/base/BaseLightVisual.hh:151
std::vector< ignition::math::Vector3d > CreateVisualLines()
Draw the light visual using dynamic renderables.
Definition: gz/rendering/base/BaseLightVisual.hh:158
LightVisualType
Enum for LightVisual types.
Definition: gz/rendering/LightVisual.hh:32
@ LVT_DIRECTIONAL
Directional light.
Definition: gz/rendering/LightVisual.hh:41