SO3Engine
|
#include <SO3Moon.h>
Public Member Functions | |
SMoon (SEnvironment *parent, const std::string &moonName) | |
~SMoon () | |
const Ogre::Real | GetPhase () |
std::string | GetTextureName () |
void | SetTextureName (const std::string &newTextureName) |
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::SMoon::SMoon | ( | SEnvironment * | parent, |
const std::string & | moonName | ||
) |
Definition at line 39 of file SO3Moon.cpp.
SO3::SMoon::~SMoon | ( | ) |
Destructor
Definition at line 51 of file SO3Moon.cpp.
|
protectedvirtual |
Implements SO3::SSkyLight.
Definition at line 60 of file SO3Moon.cpp.
const Ogre::Real SO3::SMoon::GetPhase | ( | ) |
Definition at line 55 of file SO3Moon.cpp.
std::string SO3::SMoon::GetTextureName | ( | ) |
Definition at line 80 of file SO3Moon.cpp.
void SO3::SMoon::SetTextureName | ( | const std::string & | newTextureName | ) |
Definition at line 85 of file SO3Moon.cpp.