gz/rendering/Light.hh
virtual void SetAttenuationConstant(double _value)=0
Set the attenuation constant value.
virtual math::Color DiffuseColor() const =0
Get the diffuse color.
Represents a single posable node in the scene graph.
Definition: gz/rendering/Node.hh:37
virtual bool CastShadows() const =0
Determine if this light cast shadows.
virtual double AttenuationConstant() const =0
Get the attenuation constant value.
virtual void SetAttenuationLinear(double _value)=0
Set the attenuation linear value.
virtual math::Angle OuterAngle() const =0
Get the outer angle of the spotlight.
virtual void SetAttenuationRange(double _range)=0
Set the attenuation range.
virtual void SetOuterAngle(double _radians)=0
Set the outer angle of the spotlight.
virtual double AttenuationLinear() const =0
Get the attenuation linear value.
virtual void SetSpecularColor(double _r, double _g, double _b, double _a=1.0)=0
Set the specular color.
virtual void SetInnerAngle(double _radians)=0
Set the inner angle of the spotlight.
virtual double AttenuationQuadratic() const =0
Get the attenuation quadratic value.
virtual math::Vector3d Direction() const =0
Get direction of the light.
virtual ~PointLight()
Deconstructor.
Definition: gz/rendering/Light.hh:140
virtual void SetDirection(double _x, double _y, double _z)=0
Set the direction of the light.
virtual void SetCastShadows(bool _castShadows)=0
Specify if this light should cast shadows.
virtual void SetDirection(double _x, double _y, double _z)=0
Set the direction of the light.
virtual math::Color SpecularColor() const =0
Get the specular color.
Represents a infinite directional light.
Definition: gz/rendering/Light.hh:113
virtual void SetDiffuseColor(double _r, double _g, double _b, double _a=1.0)=0
Set the diffuse color.
virtual void SetAttenuationQuadratic(double _value)=0
Set the attenuation quadratic value.
virtual double AttenuationRange() const =0
Get the attenuation range.
Represents a light source in the scene graph.
Definition: gz/rendering/Light.hh:32
virtual void SetFalloff(double _falloff)=0
Set the falloff of the spotlight.
virtual ~Light()
Deconstructor.
Definition: gz/rendering/Light.hh:36
virtual math::Angle InnerAngle() const =0
Get the inner angle of the spotlight.
virtual ~SpotLight()
Deconstructor.
Definition: gz/rendering/Light.hh:149
virtual double Falloff() const =0
Get the falloff of the spotlight.
virtual ~DirectionalLight()
Destructor.
Definition: gz/rendering/Light.hh:117
virtual math::Vector3d Direction() const =0
Get the direction of the light.