RigsofRods
Soft-body Physics Simulation
Public Member Functions | Protected Attributes
RoR::SkyXManager Class Reference

#include <SkyXManager.h>

+ Collaboration diagram for RoR::SkyXManager:

Public Member Functions

 SkyXManager (Ogre::String configFile)
 
 ~SkyXManager ()
 
Ogre::Vector3 getMainLightDirection ()
 
Ogre::Light * getMainLight ()
 
bool update (float dt)
 
bool InitLight ()
 
size_t getMemoryUsage ()
 
void freeResources ()
 
bool UpdateSkyLight ()
 
SkyX::SkyXGetSkyX ()
 

Protected Attributes

Ogre::Light * mLight0 = nullptr
 
Ogre::Light * mLight1 = nullptr
 
SkyX::SkyXmSkyX = nullptr
 
SkyX::BasicControllermBasicController = nullptr
 
SkyX::ColorGradient mWaterGradient
 
SkyX::ColorGradient mSunGradient
 
SkyX::ColorGradient mAmbientGradient
 
SkyX::CfgFileManagermCfgFileManager = nullptr
 
int mLastHour = 0
 

Detailed Description

Definition at line 32 of file SkyXManager.h.

Constructor & Destructor Documentation

◆ SkyXManager()

SkyXManager::SkyXManager ( Ogre::String  configFile)

Definition at line 36 of file SkyXManager.cpp.

+ Here is the call graph for this function:

◆ ~SkyXManager()

SkyXManager::~SkyXManager ( )

Definition at line 54 of file SkyXManager.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ freeResources()

void SkyXManager::freeResources ( )

Definition at line 193 of file SkyXManager.cpp.

◆ getMainLight()

Light * SkyXManager::getMainLight ( )

Definition at line 72 of file SkyXManager.cpp.

◆ getMainLightDirection()

Vector3 SkyXManager::getMainLightDirection ( )

Definition at line 65 of file SkyXManager.cpp.

◆ getMemoryUsage()

size_t SkyXManager::getMemoryUsage ( )

Definition at line 187 of file SkyXManager.cpp.

◆ GetSkyX()

SkyX::SkyX* RoR::SkyXManager::GetSkyX ( )
inline

Definition at line 52 of file SkyXManager.h.

+ Here is the caller graph for this function:

◆ InitLight()

bool SkyXManager::InitLight ( )

Definition at line 147 of file SkyXManager.cpp.

+ Here is the call graph for this function:

◆ update()

bool SkyXManager::update ( float  dt)

Definition at line 77 of file SkyXManager.cpp.

+ Here is the caller graph for this function:

◆ UpdateSkyLight()

bool SkyXManager::UpdateSkyLight ( )

Definition at line 85 of file SkyXManager.cpp.

+ Here is the call graph for this function:

Field Documentation

◆ mAmbientGradient

SkyX::ColorGradient RoR::SkyXManager::mAmbientGradient
protected

Definition at line 63 of file SkyXManager.h.

◆ mBasicController

SkyX::BasicController* RoR::SkyXManager::mBasicController = nullptr
protected

Definition at line 59 of file SkyXManager.h.

◆ mCfgFileManager

SkyX::CfgFileManager* RoR::SkyXManager::mCfgFileManager = nullptr
protected

Definition at line 65 of file SkyXManager.h.

◆ mLastHour

int RoR::SkyXManager::mLastHour = 0
protected

Definition at line 67 of file SkyXManager.h.

◆ mLight0

Ogre::Light* RoR::SkyXManager::mLight0 = nullptr
protected

Definition at line 55 of file SkyXManager.h.

◆ mLight1

Ogre::Light* RoR::SkyXManager::mLight1 = nullptr
protected

Definition at line 56 of file SkyXManager.h.

◆ mSkyX

SkyX::SkyX* RoR::SkyXManager::mSkyX = nullptr
protected

Definition at line 58 of file SkyXManager.h.

◆ mSunGradient

SkyX::ColorGradient RoR::SkyXManager::mSunGradient
protected

Definition at line 62 of file SkyXManager.h.

◆ mWaterGradient

SkyX::ColorGradient RoR::SkyXManager::mWaterGradient
protected

Definition at line 61 of file SkyXManager.h.


The documentation for this class was generated from the following files: