|
SO3Engine
|
#include <SO3Sun.h>
Public Member Functions | |
| SSun (SEnvironment *parent, const std::string &sunName) | |
| ~SSun () | |
Public Member Functions inherited from SO3::SSkyLight | |
| SSkyLight (SEnvironment *parent, const std::string &skyLightName, const Ogre::ColourValue &defaultBaseColour) | |
| virtual | ~SSkyLight () |
| SEnvironment * | GetEnvironment () |
| void | Update () |
| const Ogre::Vector3 | GetLightDirection () const |
| void | SetLightDirection (const Ogre::Vector3 &direction) |
| const Ogre::ColourValue | GetLightColour (const float &level=1.0f) const |
| void | SetLightColour (const Ogre::ColourValue &newColour) |
| bool | GetEnable () |
| void | SetEnable (const bool &enable) |
| bool | GetCastShadowEnable () |
| void | SetCastShadowEnable (const bool &enable) |
| void | UpdateShadowFarDistance (const float &distance) |
| void | UpdateShadowFarClipDistance (const float &distance) |
| Ogre::Light * | GetOgreLight () |
Public Member Functions inherited from SO3::SData | |
| SData (const std::string &dataName) | |
| virtual | ~SData () |
| std::string | GetName () const |
| SUserObjectBindings & | GetUserObjectBindings () |
| const SUserObjectBindings & | GetUserObjectBindings () const |
Protected Member Functions | |
| virtual const Ogre::Vector3 | ComputeDirectionImpl (const double &julianDay) |
Protected Member Functions inherited from SO3::SSkyLight | |
| const Ogre::Vector3 | MakeDirection (const Ogre::Degree &azimuth, const Ogre::Degree &altitude) |
Additional Inherited Members | |
Protected Attributes inherited from SO3::SSkyLight | |
| SEnvironment * | parentEnvironment |
| Ogre::SceneManager * | ogreSceneManager |
| Ogre::Light * | ogreSkyLight |
| Ogre::SceneNode * | ogreSkyLightSceneNode |
| double | lastJulDay |
| Ogre::Degree | lastLatitude |
| Ogre::Degree | lastLongitude |
| Ogre::ColourValue | baseColour |
| SColourGradient | lightColourGradient |
| bool | forceUpdate |
Protected Attributes inherited from SO3::SData | |
| std::string | name |
| SO3::SSun::SSun | ( | SEnvironment * | parent, |
| const std::string & | sunName | ||
| ) |
Definition at line 38 of file SO3Sun.cpp.
| SO3::SSun::~SSun | ( | ) |
Destructor
Definition at line 48 of file SO3Sun.cpp.
|
protectedvirtual |
Implements SO3::SSkyLight.
Definition at line 52 of file SO3Sun.cpp.