#include <AtmosphereManager.h>
|
const float | _scale (const float &cos, const float &uScaleDepth) const |
| Shader scale funtion. More...
|
|
Definition at line 33 of file AtmosphereManager.h.
◆ AtmosphereManager()
SkyX::AtmosphereManager::AtmosphereManager |
( |
SkyX * |
s | ) |
|
◆ ~AtmosphereManager()
SkyX::AtmosphereManager::~AtmosphereManager |
( |
| ) |
|
◆ _scale()
const float SkyX::AtmosphereManager::_scale |
( |
const float & |
cos, |
|
|
const float & |
uScaleDepth |
|
) |
| const |
|
private |
Shader scale funtion.
- Parameters
-
cos | Cos |
uScaleDepth | Scale Depth |
- Returns
- Scale
Definition at line 139 of file AtmosphereManager.cpp.
◆ _update()
void SkyX::AtmosphereManager::_update |
( |
const Options & |
NewOptions, |
|
|
const bool & |
ForceToUpdateAll = false |
|
) |
| |
Update atmoshpere.
- Parameters
-
NewOptions | Update only the differences between actual parameters and new ones. |
ForceToUpdateAll | Forces to upload all current parameters to skyx material. |
Definition at line 42 of file AtmosphereManager.cpp.
◆ getColorAt()
const Ogre::Vector3 SkyX::AtmosphereManager::getColorAt |
( |
const Ogre::Vector3 & |
Direction | ) |
const |
Get current atmosphere color at the given direction.
- Parameters
-
Direction | Normalised direction |
- Returns
- Atmosphere color at the especified direction
Definition at line 145 of file AtmosphereManager.cpp.
◆ getOptions()
const Options& SkyX::AtmosphereManager::getOptions |
( |
| ) |
const |
|
inline |
◆ setOptions()
void SkyX::AtmosphereManager::setOptions |
( |
const Options & |
_Options | ) |
|
|
inline |
◆ mOptions
Options SkyX::AtmosphereManager::mOptions |
|
private |
◆ mSkyX
SkyX* SkyX::AtmosphereManager::mSkyX |
|
private |
The documentation for this class was generated from the following files: