#include <GeometryManager.h>
SkyX::VClouds::GeometryManager::GeometryManager |
( |
VClouds * |
vc | ) |
|
SkyX::VClouds::GeometryManager::~GeometryManager |
( |
| ) |
|
void SkyX::VClouds::GeometryManager::_setMaterialName |
( |
const Ogre::String & |
mn | ) |
|
Set material name.
- Parameters
-
void SkyX::VClouds::GeometryManager::_updateRenderQueueGroup |
( |
const Ogre::uint8 & |
rqg | ) |
|
Update render queue group.
- Parameters
-
void SkyX::VClouds::GeometryManager::create |
( |
const Ogre::Vector2 & |
Height, |
|
|
const float & |
Radius, |
|
|
const Ogre::Radian & |
Alpha, |
|
|
const Ogre::Radian & |
Beta, |
|
|
const int & |
NumberOfBlocks, |
|
|
const int & |
Na, |
|
|
const int & |
Nb, |
|
|
const int & |
Nc |
|
) |
| |
Create.
- Parameters
-
Height | x = Field altitude, y: Field height (both in world coordinates) |
Radius | Radius |
Alpha | Alpha angle |
Beta | Beta angle |
NumberOfBlocks | Number of geometry blocks |
Na | Number of slices in A zone |
Nb | Number of slices in B zone |
Nc | Number of slices in C zone |
Ogre::SceneNode* SkyX::VClouds::GeometryManager::getSceneNode |
( |
| ) |
|
|
inline |
Get scene node.
- Returns
- Scene node
const bool& SkyX::VClouds::GeometryManager::isCreated |
( |
| ) |
const |
|
inline |
Has been create() already called?
- Returns
- true if created() have been already called, false if not
References SkyX::mCreated.
void SkyX::VClouds::GeometryManager::remove |
( |
| ) |
|
void SkyX::VClouds::GeometryManager::update |
( |
const Ogre::Real & |
timeSinceLastFrame | ) |
|
Update, to be invoked per frame.
- Parameters
-
timeSinceLastFrame | Time since last frame |
void SkyX::VClouds::GeometryManager::updateGeometry |
( |
Ogre::Camera * |
c, |
|
|
const Ogre::Real & |
timeSinceLastCameraFrame |
|
) |
| |
Update geoemtry.
- Parameters
-
c | Camera |
timeSinceLastCameraFrame | Time since last CAMERA frame |
The documentation for this class was generated from the following file: