![]() |
RigsofRods
Soft-body Physics Simulation
|
#include <HydraxWater.h>
Public Member Functions | |
HydraxWater (float waterHeight, Ogre::String configFile="HydraxDefault.hdx") | |
~HydraxWater () | |
float | GetStaticWaterHeight () override |
Returns static water level configured in 'terrn2'. More... | |
void | SetStaticWaterHeight (float value) override |
float | CalcWavesHeight (Ogre::Vector3 pos) override |
Ogre::Vector3 | CalcWavesVelocity (Ogre::Vector3 pos) override |
void | SetWaterVisible (bool value) override |
void | WaterSetSunPosition (Ogre::Vector3) override |
bool | IsUnderWater (Ogre::Vector3 pos) override |
void | FrameStepWater (float dt) override |
void | UpdateWater () override |
Hydrax::Hydrax * | GetHydrax () |
![]() | |
IWater () | |
virtual | ~IWater () |
virtual void | SetWaterBottomHeight (float value) |
virtual void | SetWavesHeight (float value) |
virtual void | SetReflectionPlaneHeight (float centerheight) |
virtual void | UpdateReflectionPlane (float h) |
virtual void | WaterPrepareShutdown () |
virtual void | SetForcedCameraTransform (Ogre::Radian fovy, Ogre::Vector3 pos, Ogre::Quaternion rot) |
virtual void | ClearForcedCameraTransform () |
Protected Member Functions | |
void | InitHydrax () |
Protected Attributes | |
Hydrax::Hydrax * | mHydrax |
float | waveHeight |
float | waterHeight |
Hydrax::Noise::Perlin * | waternoise |
Hydrax::Module::ProjectedGrid * | mModule |
Ogre::String | CurrentConfigFile |
Definition at line 34 of file HydraxWater.h.
HydraxWater::HydraxWater | ( | float | waterHeight, |
Ogre::String | configFile = "HydraxDefault.hdx" |
||
) |
HydraxWater::~HydraxWater | ( | ) |
|
overridevirtual |
Implements RoR::IWater.
Definition at line 128 of file HydraxWater.cpp.
|
overridevirtual |
Implements RoR::IWater.
Definition at line 138 of file HydraxWater.cpp.
|
overridevirtual |
Implements RoR::IWater.
Definition at line 152 of file HydraxWater.cpp.
|
inline |
|
overridevirtual |
Returns static water level configured in 'terrn2'.
Implements RoR::IWater.
Definition at line 112 of file HydraxWater.cpp.
|
protected |
Definition at line 57 of file HydraxWater.cpp.
|
overridevirtual |
Implements RoR::IWater.
Definition at line 91 of file HydraxWater.cpp.
|
overridevirtual |
Implements RoR::IWater.
Definition at line 117 of file HydraxWater.cpp.
|
overridevirtual |
Implements RoR::IWater.
Definition at line 122 of file HydraxWater.cpp.
|
overridevirtual |
Implements RoR::IWater.
Definition at line 98 of file HydraxWater.cpp.
|
overridevirtual |
Reimplemented from RoR::IWater.
Definition at line 146 of file HydraxWater.cpp.
|
protected |
Definition at line 62 of file HydraxWater.h.
|
protected |
Definition at line 57 of file HydraxWater.h.
|
protected |
Definition at line 61 of file HydraxWater.h.
|
protected |
Definition at line 59 of file HydraxWater.h.
|
protected |
Definition at line 60 of file HydraxWater.h.
|
protected |
Definition at line 58 of file HydraxWater.h.