#include <SO3SkyLight.h>
Public Member Functions | |
| SSkyLight (SEnvironment *parent, std::string skyLightName) | |
| ~SSkyLight () | |
| SEnvironment * | GetEnvironment () |
| void | Update () |
| const Ogre::Vector3 | GetLightDirection () const |
| void | SetLightDirection (const Ogre::Vector3 &direction) |
| const Ogre::ColourValue | GetLightColour () const |
| void | SetLightColour (const Ogre::ColourValue &newColour) |
Protected Member Functions | |
| virtual const Ogre::Vector3 | ComputeDirectionImpl (double julianDay)=0 |
| const Ogre::Vector3 | MakeDirection (Ogre::Degree azimuth, Ogre::Degree altitude) |
Protected Attributes | |
| SEnvironment * | parentEnvironment |
| Ogre::SceneManager * | ogreSceneManager |
| Ogre::Light * | ogreSkyLight |
| double | lastJulDay |
Definition at line 43 of file SO3SkyLight.h.
| SO3::SSkyLight::SSkyLight | ( | SEnvironment * | parent, | |
| std::string | skyLightName | |||
| ) |
Definition at line 42 of file SO3SkyLight.cpp.
| SO3::SSkyLight::~SSkyLight | ( | ) |
Destructor
Definition at line 59 of file SO3SkyLight.cpp.
| virtual const Ogre::Vector3 SO3::SSkyLight::ComputeDirectionImpl | ( | double | julianDay | ) | [protected, pure virtual] |
Implemented in SO3::SMoon, and SO3::SSun.
| SEnvironment * SO3::SSkyLight::GetEnvironment | ( | ) |
Definition at line 71 of file SO3SkyLight.cpp.
| const Ogre::ColourValue SO3::SSkyLight::GetLightColour | ( | ) | const |
Definition at line 97 of file SO3SkyLight.cpp.
| const Ogre::Vector3 SO3::SSkyLight::GetLightDirection | ( | ) | const |
Definition at line 87 of file SO3SkyLight.cpp.
| const Ogre::Vector3 SO3::SSkyLight::MakeDirection | ( | Ogre::Degree | azimuth, | |
| Ogre::Degree | altitude | |||
| ) | [protected] |
Definition at line 107 of file SO3SkyLight.cpp.
| void SO3::SSkyLight::SetLightColour | ( | const Ogre::ColourValue & | newColour | ) |
Definition at line 102 of file SO3SkyLight.cpp.
| void SO3::SSkyLight::SetLightDirection | ( | const Ogre::Vector3 & | direction | ) |
Definition at line 92 of file SO3SkyLight.cpp.
| void SO3::SSkyLight::Update | ( | ) |
Definition at line 76 of file SO3SkyLight.cpp.
double SO3::SSkyLight::lastJulDay [protected] |
Definition at line 50 of file SO3SkyLight.h.
Ogre::SceneManager* SO3::SSkyLight::ogreSceneManager [protected] |
Definition at line 48 of file SO3SkyLight.h.
Ogre::Light* SO3::SSkyLight::ogreSkyLight [protected] |
Definition at line 49 of file SO3SkyLight.h.
SEnvironment* SO3::SSkyLight::parentEnvironment [protected] |
Definition at line 47 of file SO3SkyLight.h.
1.6.3