17 #ifndef GZ_RENDERING_BASE_BASELIGHT_HH_
18 #define GZ_RENDERING_BASE_BASELIGHT_HH_
26 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
67 protected:
virtual void Reset();
79 public:
virtual void SetDirection(
double _x,
double _y,
double _z);
83 protected:
virtual void Reset();
139 this->SetDiffuseColor(
math::Color(_r, _g, _b, _a));
147 this->SetSpecularColor(
math::Color(_r, _g, _b, _a));
156 this->SetAttenuationConstant(1);
157 this->SetAttenuationLinear(0);
158 this->SetAttenuationQuadratic(0);
159 this->SetAttenuationRange(100);
160 this->SetCastShadows(
true);
161 this->SetIntensity(1.0);
188 this->SetDirection(0, 0, -1);
241 this->SetDirection(0, 0, -1);
242 this->SetInnerAngle(
GZ_PI / 4.5);
243 this->SetOuterAngle(
GZ_PI / 4.0);
244 this->SetFalloff(1.0);