#include <VCloudsManager.h>
Definition at line 36 of file VCloudsManager.h.
◆ VCloudsManager()
SkyX::VCloudsManager::VCloudsManager |
( |
SkyX * |
s | ) |
|
◆ ~VCloudsManager()
SkyX::VCloudsManager::~VCloudsManager |
( |
| ) |
|
◆ _setLightParameters()
void SkyX::VCloudsManager::_setLightParameters |
( |
| ) |
|
|
private |
◆ _updateWindSpeedConfig()
void SkyX::VCloudsManager::_updateWindSpeedConfig |
( |
| ) |
|
◆ create()
void SkyX::VCloudsManager::create |
( |
const Ogre::Real & |
radius = -1 | ) |
|
Create all resources.
- Parameters
-
radius | Volumetric cloud field radius, -1 to use current VClouds::mGeometrySettings::Radius |
Definition at line 71 of file VCloudsManager.cpp.
◆ getAmbientGradient()
const ColorGradient& SkyX::VCloudsManager::getAmbientGradient |
( |
| ) |
const |
|
inline |
Get ambient color gradient.
- Returns
- Ambient color gradient
Definition at line 80 of file VCloudsManager.h.
◆ getAutoupdate()
const bool& SkyX::VCloudsManager::getAutoupdate |
( |
| ) |
const |
|
inline |
Get autoupdate.
- Returns
- true if you want to update volumetric clouds wind depending of the SkyX time multiplier
Definition at line 131 of file VCloudsManager.h.
◆ getHeight()
const Ogre::Vector2& SkyX::VCloudsManager::getHeight |
( |
| ) |
const |
|
inline |
Get height parameters.
- Returns
- Height: x = Cloud field y-coord start, y: Field height (both in world coordinates)
Definition at line 114 of file VCloudsManager.h.
◆ getSunGradient()
const ColorGradient& SkyX::VCloudsManager::getSunGradient |
( |
| ) |
const |
|
inline |
Get sun color gradient.
- Returns
- Sun color gradient
Definition at line 96 of file VCloudsManager.h.
◆ getVClouds()
◆ getWindSpeed()
const Ogre::Real& SkyX::VCloudsManager::getWindSpeed |
( |
| ) |
const |
|
inline |
◆ isCreated()
const bool& SkyX::VCloudsManager::isCreated |
( |
| ) |
const |
|
inline |
Is moon manager created?
- Returns
- true if yes, false if not
Definition at line 163 of file VCloudsManager.h.
◆ notifyCameraRender()
void SkyX::VCloudsManager::notifyCameraRender |
( |
Ogre::Camera * |
c | ) |
|
Notify camera render, to be invoked per-camera and per-frame.
- Parameters
-
Definition at line 106 of file VCloudsManager.cpp.
◆ remove()
void SkyX::VCloudsManager::remove |
( |
| ) |
|
◆ setAmbientGradient()
void SkyX::VCloudsManager::setAmbientGradient |
( |
const ColorGradient & |
AmbientGradient | ) |
|
|
inline |
Set ambient gradient.
- Parameters
-
AmbientGradient | Ambient color gradient |
Definition at line 72 of file VCloudsManager.h.
◆ setAutoupdate()
void SkyX::VCloudsManager::setAutoupdate |
( |
const bool & |
Autoupdate | ) |
|
|
inline |
Autoupdate volumetric clouds wind depending of the SkyX time multiplier.
Definition at line 122 of file VCloudsManager.h.
◆ setHeight()
void SkyX::VCloudsManager::setHeight |
( |
const Ogre::Vector2 & |
Height | ) |
|
|
inline |
Set height parameters.
- Parameters
-
Height | x = Cloud field y-coord start, y: Field height (both in world coordinates) |
Definition at line 106 of file VCloudsManager.h.
◆ setSunGradient()
void SkyX::VCloudsManager::setSunGradient |
( |
const ColorGradient & |
SunGradient | ) |
|
|
inline |
Set sun gradient.
- Parameters
-
SunGradient | Sun color gradient |
Definition at line 88 of file VCloudsManager.h.
◆ setWindSpeed()
void SkyX::VCloudsManager::setWindSpeed |
( |
const Ogre::Real & |
WindSpeed | ) |
|
|
inline |
◆ update()
void SkyX::VCloudsManager::update |
( |
const Ogre::Real & |
timeSinceLastFrame | ) |
|
Update.
- Parameters
-
timeSinceLastFrame | Time since last frame |
Definition at line 92 of file VCloudsManager.cpp.
◆ mAmbientGradient
◆ mAutoupdate
bool SkyX::VCloudsManager::mAutoupdate |
|
private |
Autoupdate wind speed depending of skyx time multiplier?
Definition at line 189 of file VCloudsManager.h.
◆ mCreated
bool SkyX::VCloudsManager::mCreated |
|
private |
◆ mCurrentTimeSinceLastFrame
Ogre::Real SkyX::VCloudsManager::mCurrentTimeSinceLastFrame |
|
private |
◆ mHeight
Ogre::Vector2 SkyX::VCloudsManager::mHeight |
|
private |
Height parameters, x = Cloud field y-coord start, y: Field height (both in world coordinates)
Definition at line 186 of file VCloudsManager.h.
◆ mSkyX
SkyX* SkyX::VCloudsManager::mSkyX |
|
private |
◆ mSunGradient
◆ mVClouds
◆ mWindSpeed
Ogre::Real SkyX::VCloudsManager::mWindSpeed |
|
private |
The documentation for this class was generated from the following files: