#include <SO3Water.h>
Definition at line 51 of file SO3Water.h.
Definition at line 66 of file SO3Water.h.
Definition at line 57 of file SO3Water.h.
| SO3::SWater::SWater | ( | SEnvironment * | parent, | |
| std::string | waterName, | |||
| SViewPort * | targetViewport, | |||
| SCamera * | targetCamera | |||
| ) |
Create a new water instance, with infinite plane geom shape by default
Definition at line 45 of file SO3Water.cpp.
| SO3::SWater::SWater | ( | SEnvironment * | parent, | |
| std::string | waterName, | |||
| SViewPort * | targetViewport, | |||
| SCamera * | targetCamera, | |||
| int | planeSizeX, | |||
| int | planeSizeY | |||
| ) |
Create a new water instance, with defined finite plane geom shape by default
Definition at line 52 of file SO3Water.cpp.
| SO3::SWater::SWater | ( | SEnvironment * | parent, | |
| std::string | waterName, | |||
| SViewPort * | targetViewport, | |||
| SCamera * | targetCamera, | |||
| float | waterRadius | |||
| ) |
Create a new water instance, with defined radial geom shape by default
Definition at line 59 of file SO3Water.cpp.
| SO3::SWater::~SWater | ( | ) |
Destructor
Definition at line 117 of file SO3Water.cpp.
| float SO3::SWater::GetAnimationSpeed | ( | ) |
Retrieve the waves animation speed.
Definition at line 909 of file SO3Water.cpp.
| SWater::WaterComponentCaustics * SO3::SWater::GetCaustics | ( | ) |
Definition at line 253 of file SO3Water.cpp.
| Ogre::ColourValue SO3::SWater::GetColor | ( | ) |
Definition at line 898 of file SO3Water.cpp.
| SWater::WaterComponent * SO3::SWater::GetComponent | ( | SWater::WaterComponentType | componentType | ) |
Definition at line 200 of file SO3Water.cpp.
| SWater::WaterComponentDepth * SO3::SWater::GetDepth | ( | ) |
Definition at line 243 of file SO3Water.cpp.
| SWater::WaterComponentFoam * SO3::SWater::GetFoam | ( | ) |
Definition at line 238 of file SO3Water.cpp.
| SWater::WaterGeometryType SO3::SWater::GetGeometryType | ( | ) |
Get the actual geometry shape of the water
Definition at line 268 of file SO3Water.cpp.
| SWater::WaterComponentGodRays * SO3::SWater::GetGodRays | ( | ) |
Definition at line 263 of file SO3Water.cpp.
| Hydrax::Hydrax * SO3::SWater::GetHydrax | ( | ) |
Internal use only!
Definition at line 195 of file SO3Water.cpp.
| const Ogre::Vector3 & SO3::SWater::GetPosition | ( | ) | const |
Retrieve the position of the water plane geometry, y is the "sea level" component.
Definition at line 888 of file SO3Water.cpp.
| SWater::WaterComponentSmooth * SO3::SWater::GetSmooth | ( | ) |
Definition at line 248 of file SO3Water.cpp.
| SWater::WaterComponentSun * SO3::SWater::GetSun | ( | ) |
Definition at line 233 of file SO3Water.cpp.
| SWater::WaterComponentUnderwater * SO3::SWater::GetUnderwater | ( | ) |
Definition at line 258 of file SO3Water.cpp.
| void SO3::SWater::postRenderTargetUpdate | ( | const Hydrax::RttManager::RttType & | Rtt | ) | [virtual] |
Definition at line 963 of file SO3Water.cpp.
| void SO3::SWater::preRenderTargetUpdate | ( | const Hydrax::RttManager::RttType & | Rtt | ) | [virtual] |
Definition at line 929 of file SO3Water.cpp.
| void SO3::SWater::SetAnimationSpeed | ( | float | animationSpeed | ) |
Change the waves animations speed.
Definition at line 914 of file SO3Water.cpp.
| void SO3::SWater::SetColor | ( | Ogre::ColourValue | color | ) |
Definition at line 903 of file SO3Water.cpp.
| void SO3::SWater::SetGeometryTypeFinitePlane | ( | int | planeSizeX, | |
| int | planeSizeY | |||
| ) |
Change the geometry to an finite plane (width and height provided).
Definition at line 278 of file SO3Water.cpp.
| void SO3::SWater::SetGeometryTypeInfinitePlane | ( | ) |
Change the geometry to an infinite plane.
Definition at line 273 of file SO3Water.cpp.
| void SO3::SWater::SetGeometryTypeRadialPlane | ( | float | waterRadius | ) |
Change the geometry to an radial plane (circle radius provided).
Definition at line 283 of file SO3Water.cpp.
| void SO3::SWater::SetPosition | ( | const Ogre::Vector3 & | newSeaLevel | ) |
Changes the sea level on the y component. x and z are usefull for radial and finite plane, but not for infinite plane.
Definition at line 893 of file SO3Water.cpp.
| void SO3::SWater::SetWindDirection | ( | Ogre::Vector3 | newWindDirection | ) |
TODO DELETE
Definition at line 850 of file SO3Water.cpp.
| void SO3::SWater::SetWindSpeed | ( | float | newWindSpeed | ) |
TODO DELETE
Definition at line 818 of file SO3Water.cpp.
| void SO3::SWater::Update | ( | Ogre::Real | updateTime | ) | [virtual] |
Implements SO3::SEnvironmentComponent.
Definition at line 859 of file SO3Water.cpp.
1.6.3