SO3Engine
|
SO3::SMoon Class Reference
#include <SO3Moon.h>
Inheritance diagram for SO3::SMoon:
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 |
Detailed Description
Constructor & Destructor Documentation
◆ SMoon()
SO3::SMoon::SMoon | ( | SEnvironment * | parent, |
const std::string & | moonName | ||
) |
Definition at line 39 of file SO3Moon.cpp.
◆ ~SMoon()
SO3::SMoon::~SMoon | ( | ) |
Destructor
Definition at line 51 of file SO3Moon.cpp.
Member Function Documentation
◆ ComputeDirectionImpl()
|
protectedvirtual |
Implements SO3::SSkyLight.
Definition at line 60 of file SO3Moon.cpp.
◆ GetPhase()
const Ogre::Real SO3::SMoon::GetPhase | ( | ) |
Definition at line 55 of file SO3Moon.cpp.
◆ GetTextureName()
std::string SO3::SMoon::GetTextureName | ( | ) |
Definition at line 80 of file SO3Moon.cpp.
◆ SetTextureName()
void SO3::SMoon::SetTextureName | ( | const std::string & | newTextureName | ) |
Definition at line 85 of file SO3Moon.cpp.
The documentation for this class was generated from the following files:
- include/SO3SceneGraph/SO3Moon.h
- src/SO3SceneGraph/SO3Moon.cpp
Generated by 1.9.8