Go to the documentation of this file.
17 #ifndef IGNITION_RENDERING_LIGHTVISUAL_HH_
18 #define IGNITION_RENDERING_LIGHTVISUAL_HH_
20 #include "ignition/rendering/config.hh"
29 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
65 public:
virtual void SetInnerAngle(
double _innerAngle) = 0;
69 public:
virtual double InnerAngle() = 0;
73 public:
virtual void SetOuterAngle(
double _outerAngle) = 0;
77 public:
virtual double OuterAngle() = 0;
@ LVT_EMPTY
No type.
Definition: LightVisual.hh:35
@ LVT_SPOT
Spot light.
Definition: LightVisual.hh:44
virtual double InnerAngle()=0
Get inner angle.
virtual void SetType(LightVisualType _type)=0
set type of the light
virtual void SetInnerAngle(double _innerAngle)=0
Set inner angle for spot lights.
Represents a light visual.
Definition: LightVisual.hh:49
virtual LightVisualType Type()=0
Get light visual type.
virtual void SetOuterAngle(double _outerAngle)=0
Set outer angle for spot lights.
Represents a visual node in a scene graph. A Visual is the only node that can have Geometry and other...
Definition: Visual.hh:33
virtual double OuterAngle()=0
Get outer angle.
LightVisualType
Enum for LightVisual types.
Definition: LightVisual.hh:32
@ LVT_DIRECTIONAL
Directional light.
Definition: LightVisual.hh:41
virtual ~LightVisual()
Descructor.
Definition: LightVisual.hh:53
@ LVT_POINT
Point light.
Definition: LightVisual.hh:38