60 SSkyLight(
SEnvironment* parent,
const std::string& skyLightName,
const Ogre::ColourValue& defaultBaseColour);
77 const Ogre::Vector3 GetLightDirection()
const;
81 void SetLightDirection(
const Ogre::Vector3& direction);
85 const Ogre::ColourValue GetLightColour(
const float& level=1.0f)
const;
89 void SetLightColour(
const Ogre::ColourValue& newColour);
99 void SetEnable(
const bool& enable);
104 bool GetCastShadowEnable();
109 void SetCastShadowEnable(
const bool& enable);
111 void UpdateShadowFarDistance(
const float& distance);
113 void UpdateShadowFarClipDistance(
const float& distance);
115 Ogre::Light* GetOgreLight();
123 const Ogre::Vector3 MakeDirection (
const Ogre::Degree& azimuth,
const Ogre::Degree& altitude);
132 void RefreshLightColourGradient();