SO3Engine
|
SO3Environment.cpp
Go to the documentation of this file.
44SEnvironment::SEnvironment(SScene* parent, const std::string& environmentName) : SData(environmentName)
72 // universalClock->SetGregorianDateTime(2000, 1, 1, 0, 0, 0); // Following tests are for E0 N45 coordinates.
86 sun->UpdateShadowFarClipDistance(scene->GetOgreScenePointer()->getShadowDirectionalLightExtrusionDistance());
89 moon->UpdateShadowFarClipDistance(scene->GetOgreScenePointer()->getShadowDirectionalLightExtrusionDistance());
447void SEnvironment::_NotifyEnvironmentComponentRegisterRenderTarget(Ogre::Viewport* targetViewport)
460void SEnvironment::_NotifyEnvironmentComponentUnRegisterRenderTarget(Ogre::Viewport* targetViewport)
Definition SO3DataScol.h:41
Definition SO3DateTime.h:35
void RegisterViewport(SViewPort *viewport)
Definition SO3EnvironmentComponent.cpp:86
void UnregisterCamera(Ogre::Camera *cam)
Definition SO3EnvironmentComponent.cpp:77
void UnregisterViewport(SViewPort *viewport)
Definition SO3EnvironmentComponent.cpp:98
void SetEnable(const bool &enableComponent)
Definition SO3EnvironmentComponent.cpp:68
ViewportList GetRegisteredViewports()
Definition SO3Environment.cpp:232
SUniversalClock * GetUniversalClock()
Definition SO3Environment.cpp:237
virtual bool frameStarted(const Ogre::FrameEvent &evt)
Definition SO3Environment.cpp:418
void SetEnable(const bool &enableEnvironment)
Definition SO3Environment.cpp:267
void UnregisterViewport(SViewPort *targetViewport)
Definition SO3Environment.cpp:161
void _NotifyEnvironmentComponentUnRegisterRenderTarget(Ogre::Viewport *targetViewport)
Definition SO3Environment.cpp:460
void SetPaused(const bool &pauseSimulation)
Definition SO3Environment.cpp:374
void SetWaterEnable(const bool &enableWater)
Definition SO3Environment.cpp:299
void RegisterViewport(SViewPort *targetViewport)
Definition SO3Environment.cpp:128
void SetWindSpeed(const float &newWindSpeed)
Definition SO3Environment.cpp:325
void SetSkyEnable(const bool &enableSky)
Definition SO3Environment.cpp:312
void UnregisterCamera(Ogre::Camera *cam)
Definition SO3Environment.cpp:190
void UnregisterAllViewports()
Definition SO3Environment.cpp:221
void _NotifyEnvironmentComponentRegisterRenderTarget(Ogre::Viewport *targetViewport)
Definition SO3Environment.cpp:447
void SetDateTime(const SDateTime &newDateTime)
Definition SO3Environment.cpp:391
Ogre::Vector2 GetWindDirection()
Definition SO3Environment.cpp:330
void SetHumidity(const float &newHumidity)
Definition SO3Environment.cpp:345
void SetTimeSpeedFactor(const float &newTimeSpeedFactor)
Definition SO3Environment.cpp:363
void UpdateCamera(SViewPort *viewport)
Definition SO3Environment.cpp:472
bool IsRegisteredViewport(SViewPort *targetViewport)
Definition SO3Environment.cpp:199
void SetLongitude(const Ogre::Degree &newLongitude)
Definition SO3Environment.cpp:403
void SetWindDirection(const Ogre::Vector2 &newWindDirection)
Definition SO3Environment.cpp:335
void SetLatitude(const Ogre::Degree &newLatitude)
Definition SO3Environment.cpp:413
Definition SO3Moon.h:41
Definition SO3Scene.h:125
Ogre::SceneManager * GetOgreScenePointer()
Definition SO3Scene.cpp:449
Definition SO3Sky.h:47
void UpdateShadowFarDistance(const float &distance)
Definition SO3SkyLight.cpp:233
void UpdateShadowFarClipDistance(const float &distance)
Definition SO3SkyLight.cpp:238
Definition SO3Sun.h:41
Definition SO3UniversalClock.h:46
void SetTimeScale(const float &scale)
Definition SO3UniversalClock.cpp:88
void GetGregorianDateTime(int &year, int &month, int &day, int &hour, int &minute, double &second)
Definition SO3UniversalClock.cpp:49
void SetGregorianDateTime(const int &year, const int &month, const int &day, const int &hour, const int &minute, const double &second)
Definition SO3UniversalClock.cpp:43
Definition SO3ViewPort.h:56
void UnregisterStereoViewport()
Definition SO3ViewPort.cpp:319
bool IsStereoViewportRegistered()
Definition SO3ViewPort.cpp:329
Ogre::Viewport * GetOgreViewPortPointer()
Definition SO3ViewPort.cpp:98
Definition SO3Water.h:52
Definition SO3DataScol.h:38
Generated by 1.9.8