gz/rendering/base/BaseLight.hh
Go to the documentation of this file.
static const Color White
Definition: gz/rendering/base/BaseLight.hh:74
BaseDirectionalLight()
Definition: gz/rendering/base/BaseLight.hh:166
virtual ~BaseDirectionalLight()
Definition: gz/rendering/base/BaseLight.hh:172
virtual void Reset()
Definition: gz/rendering/base/BaseLight.hh:185
virtual void SetDirection(double _x, double _y, double _z)
Set the direction of the light.
Definition: gz/rendering/base/BaseLight.hh:178
virtual void SetDirection(const math::Vector3d &_dir)=0
Set the direction of the light.
Definition: gz/rendering/base/BaseLight.hh:32
virtual void SetAttenuationQuadratic(double _value)=0
Set the attenuation quadratic value.
virtual void Reset()
Definition: gz/rendering/base/BaseLight.hh:152
virtual void SetAttenuationLinear(double _value)=0
Set the attenuation linear value.
virtual void SetDiffuseColor(const math::Color &_color)=0
Set the diffuse color.
virtual void SetAttenuationRange(double _range)=0
Set the attenuation range.
virtual ~BaseLight()
Definition: gz/rendering/base/BaseLight.hh:130
virtual void SetDiffuseColor(double _r, double _g, double _b, double _a=1.0)
Set the diffuse color.
Definition: gz/rendering/base/BaseLight.hh:136
virtual void SetSpecularColor(const math::Color &_color)=0
Set the specular color.
virtual void SetCastShadows(bool _castShadows)=0
Specify if this light should cast shadows.
virtual void SetSpecularColor(double _r, double _g, double _b, double _a=1.0)
Set the specular color.
Definition: gz/rendering/base/BaseLight.hh:144
virtual void SetAttenuationConstant(double _value)=0
Set the attenuation constant value.
Definition: gz/rendering/base/BaseLight.hh:90
virtual ~BasePointLight()
Definition: gz/rendering/base/BaseLight.hh:199
BasePointLight()
Definition: gz/rendering/base/BaseLight.hh:193
Definition: gz/rendering/base/BaseLight.hh:100
virtual void SetOuterAngle(const math::Angle &_angle)=0
Set the outer angle of the spotlight.
BaseSpotLight()
Definition: gz/rendering/base/BaseLight.hh:205
virtual void Reset()
Definition: gz/rendering/base/BaseLight.hh:238
virtual void SetFalloff(double _falloff)=0
Set the falloff of the spotlight.
virtual void SetInnerAngle(double _radians)
Set the inner angle of the spotlight.
Definition: gz/rendering/base/BaseLight.hh:224
virtual void SetDirection(double _x, double _y, double _z)
Set the direction of the light.
Definition: gz/rendering/base/BaseLight.hh:217
virtual void SetInnerAngle(const math::Angle &_angle)=0
Set the inner angle of the spotlight.
virtual void SetDirection(const math::Vector3d &_dir)=0
Set the direction of the light.
virtual ~BaseSpotLight()
Definition: gz/rendering/base/BaseLight.hh:211
virtual void SetOuterAngle(double _radians)
Set the outer angle of the spotlight.
Definition: gz/rendering/base/BaseLight.hh:231
Represents a infinite directional light.
Definition: gz/rendering/Light.hh:123
Represents a light source in the scene graph.
Definition: gz/rendering/Light.hh:34
#define IGN_PI