Go to the documentation of this file.
17 #ifndef GZ_RENDERING_OGRE_OGRELIGHT_HH_
18 #define GZ_RENDERING_OGRE_OGRELIGHT_HH_
33 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
44 public:
virtual void SetDiffuseColor(
const math::Color &_color);
48 public:
virtual void SetSpecularColor(
const math::Color &_color);
50 public:
virtual double AttenuationConstant()
const;
52 public:
virtual void SetAttenuationConstant(
double _value);
54 public:
virtual double AttenuationLinear()
const;
56 public:
virtual void SetAttenuationLinear(
double _value);
58 public:
virtual double AttenuationQuadratic()
const;
60 public:
virtual void SetAttenuationQuadratic(
double _value);
62 public:
virtual double AttenuationRange()
const;
64 public:
virtual void SetAttenuationRange(
double _range);
66 public:
virtual bool CastShadows()
const;
68 public:
virtual void SetCastShadows(
bool _castShadows);
70 public:
virtual Ogre::Light *
Light()
const;
72 public:
virtual void Destroy();
74 protected:
virtual void Init();
76 private:
void CreateLight();
78 private:
void UpdateAttenuation();
130 public:
virtual void SetInnerAngle(
const math::Angle &_angle);
134 public:
virtual void SetOuterAngle(
const math::Angle &_angle);
136 public:
virtual double Falloff()
const;
138 public:
virtual void SetFalloff(
double _falloff);
Ogre::Light::LightTypes ogreLightType
Definition: gz/rendering/ogre/OgreLight.hh:90
Definition: gz/rendering/ogre/OgreLight.hh:93
Definition: gz/rendering/base/BaseLight.hh:97
Definition: gz/rendering/ogre/OgreCamera.hh:27
Definition: gz/rendering/ogre/OgreScene.hh:39
Definition: gz/rendering/base/BaseLight.hh:71
Definition: gz/rendering/base/BaseLight.hh:87
double attenConstant
Definition: gz/rendering/ogre/OgreLight.hh:80
Definition: gz/rendering/base/BaseLight.hh:29
Definition: gz/rendering/ogre/OgreLight.hh:117
double attenLinear
Definition: gz/rendering/ogre/OgreLight.hh:82
Definition: gz/rendering/ogre/OgreLight.hh:107
double attenQuadratic
Definition: gz/rendering/ogre/OgreLight.hh:84
Represents a light source in the scene graph.
Definition: gz/rendering/Light.hh:32
Definition: gz/rendering/ogre/OgreLight.hh:35
Ogre::Light * ogreLight
Definition: gz/rendering/ogre/OgreLight.hh:88
double attenRange
Definition: gz/rendering/ogre/OgreLight.hh:86