#include <Water.h>
Definition at line 40 of file Water.h.
◆ Water()
Water::Water |
( |
Ogre::Vector3 |
terrn_size | ) |
|
◆ ~Water()
◆ CalcWavesHeight()
float Water::CalcWavesHeight |
( |
Ogre::Vector3 |
pos | ) |
|
|
overridevirtual |
◆ CalcWavesVelocity()
Vector3 Water::CalcWavesVelocity |
( |
Ogre::Vector3 |
pos | ) |
|
|
overridevirtual |
◆ ClearForcedCameraTransform()
void Water::ClearForcedCameraTransform |
( |
| ) |
|
|
overridevirtual |
◆ FrameStepWater()
void Water::FrameStepWater |
( |
float |
dt | ) |
|
|
overridevirtual |
◆ GetStaticWaterHeight()
float Water::GetStaticWaterHeight |
( |
| ) |
|
|
overridevirtual |
Returns static water level configured in 'terrn2'.
Implements RoR::IWater.
Definition at line 484 of file Water.cpp.
◆ GetWaveHeight()
float Water::GetWaveHeight |
( |
Ogre::Vector3 |
pos | ) |
|
|
private |
◆ IsCameraUnderWater()
bool Water::IsCameraUnderWater |
( |
| ) |
|
|
private |
◆ IsUnderWater()
bool Water::IsUnderWater |
( |
Ogre::Vector3 |
pos | ) |
|
|
overridevirtual |
◆ PrepareWater()
void Water::PrepareWater |
( |
| ) |
|
|
private |
◆ SetForcedCameraTransform()
void Water::SetForcedCameraTransform |
( |
Ogre::Radian |
fovy, |
|
|
Ogre::Vector3 |
pos, |
|
|
Ogre::Quaternion |
rot |
|
) |
| |
|
overridevirtual |
◆ SetReflectionPlaneHeight()
void Water::SetReflectionPlaneHeight |
( |
float |
centerheight | ) |
|
|
overridevirtual |
◆ SetStaticWaterHeight()
void Water::SetStaticWaterHeight |
( |
float |
value | ) |
|
|
overridevirtual |
◆ SetWaterBottomHeight()
void Water::SetWaterBottomHeight |
( |
float |
value | ) |
|
|
overridevirtual |
◆ SetWaterVisible()
void Water::SetWaterVisible |
( |
bool |
value | ) |
|
|
overridevirtual |
◆ SetWavesHeight()
void Water::SetWavesHeight |
( |
float |
value | ) |
|
|
overridevirtual |
◆ ShowWave()
void Water::ShowWave |
( |
Ogre::Vector3 |
refpos | ) |
|
|
private |
◆ UpdateReflectionPlane()
void Water::UpdateReflectionPlane |
( |
float |
h | ) |
|
|
overridevirtual |
◆ UpdateWater()
void Water::UpdateWater |
( |
| ) |
|
|
overridevirtual |
◆ WaterPrepareShutdown()
void Water::WaterPrepareShutdown |
( |
| ) |
|
|
overridevirtual |
◆ m_bottom_height
float RoR::Water::m_bottom_height = 0.f |
|
private |
◆ m_bottom_plane
Ogre::Plane RoR::Water::m_bottom_plane |
|
private |
◆ m_bottomplane_node
Ogre::SceneNode* RoR::Water::m_bottomplane_node = nullptr |
|
private |
◆ m_cam_forced
bool RoR::Water::m_cam_forced = false |
|
private |
◆ m_cam_forced_fovy
Ogre::Radian RoR::Water::m_cam_forced_fovy = Ogre::Radian(0.f) |
|
private |
◆ m_cam_forced_orientation
Ogre::Quaternion RoR::Water::m_cam_forced_orientation = Ogre::Quaternion::IDENTITY |
|
private |
◆ m_cam_forced_position
Ogre::Vector3 RoR::Water::m_cam_forced_position = Ogre::Vector3::ZERO |
|
private |
◆ m_frame_counter
int RoR::Water::m_frame_counter = 0 |
|
private |
◆ m_map_size
Ogre::Vector3 RoR::Water::m_map_size = Ogre::Vector3::ZERO |
|
private |
◆ m_max_ampl
float RoR::Water::m_max_ampl = 0.f |
|
private |
◆ m_reflect_cam
Ogre::Camera* RoR::Water::m_reflect_cam = nullptr |
|
private |
◆ m_reflect_listener
◆ m_reflect_plane
Ogre::Plane RoR::Water::m_reflect_plane |
|
private |
◆ m_reflect_rtt_target
Ogre::RenderTexture* RoR::Water::m_reflect_rtt_target = nullptr |
|
private |
◆ m_reflect_rtt_texture
Ogre::TexturePtr RoR::Water::m_reflect_rtt_texture |
|
private |
◆ m_reflect_rtt_viewport
Ogre::Viewport* RoR::Water::m_reflect_rtt_viewport = nullptr |
|
private |
◆ m_refract_cam
Ogre::Camera* RoR::Water::m_refract_cam = nullptr |
|
private |
◆ m_refract_listener
◆ m_refract_plane
Ogre::Plane RoR::Water::m_refract_plane |
|
private |
◆ m_refract_rtt_target
Ogre::RenderTexture* RoR::Water::m_refract_rtt_target = nullptr |
|
private |
◆ m_refract_rtt_texture
Ogre::TexturePtr RoR::Water::m_refract_rtt_texture |
|
private |
◆ m_refract_rtt_viewport
Ogre::Viewport* RoR::Water::m_refract_rtt_viewport = nullptr |
|
private |
◆ m_sim_time_counter
float RoR::Water::m_sim_time_counter = 0.f |
|
private |
Elapsed simulation time in seconds.
Definition at line 111 of file Water.h.
◆ m_water_height
float RoR::Water::m_water_height = 0.f |
|
private |
◆ m_water_plane
Ogre::Plane RoR::Water::m_water_plane |
|
private |
◆ m_water_visible
bool RoR::Water::m_water_visible = true |
|
private |
◆ m_waterplane_entity
Ogre::Entity* RoR::Water::m_waterplane_entity = nullptr |
|
private |
◆ m_waterplane_force_update_pos
bool RoR::Water::m_waterplane_force_update_pos = false |
|
private |
◆ m_waterplane_mesh
Ogre::MeshPtr RoR::Water::m_waterplane_mesh |
|
private |
◆ m_waterplane_mesh_scale
float RoR::Water::m_waterplane_mesh_scale = 1.f |
|
private |
◆ m_waterplane_node
Ogre::SceneNode* RoR::Water::m_waterplane_node = nullptr |
|
private |
◆ m_waterplane_vert_buf
Ogre::HardwareVertexBufferSharedPtr RoR::Water::m_waterplane_vert_buf |
|
private |
◆ m_waterplane_vert_buf_local
float* RoR::Water::m_waterplane_vert_buf_local = nullptr |
|
private |
◆ m_waves_height
float RoR::Water::m_waves_height = 0.f |
|
private |
◆ m_wavetrain_defs
std::vector<WaveTrain> RoR::Water::m_wavetrain_defs |
|
private |
The documentation for this class was generated from the following files: