#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 498 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 |
|
private |
◆ m_bottom_plane
Ogre::Plane RoR::Water::m_bottom_plane |
|
private |
◆ m_bottomplane_node
Ogre::SceneNode* RoR::Water::m_bottomplane_node |
|
private |
◆ m_cam_forced
bool RoR::Water::m_cam_forced |
|
private |
◆ m_cam_forced_fovy
Ogre::Radian RoR::Water::m_cam_forced_fovy |
|
private |
◆ m_cam_forced_orientation
Ogre::Quaternion RoR::Water::m_cam_forced_orientation |
|
private |
◆ m_cam_forced_position
Ogre::Vector3 RoR::Water::m_cam_forced_position |
|
private |
◆ m_frame_counter
int RoR::Water::m_frame_counter |
|
private |
◆ m_map_size
Ogre::Vector3 RoR::Water::m_map_size |
|
private |
◆ m_max_ampl
float RoR::Water::m_max_ampl |
|
private |
◆ m_reflect_cam
Ogre::Camera* RoR::Water::m_reflect_cam |
|
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 |
|
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 |
|
private |
◆ m_refract_cam
Ogre::Camera* RoR::Water::m_refract_cam |
|
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 |
|
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 |
|
private |
◆ m_water_height
float RoR::Water::m_water_height |
|
private |
◆ m_water_plane
Ogre::Plane RoR::Water::m_water_plane |
|
private |
◆ m_water_visible
bool RoR::Water::m_water_visible |
|
private |
◆ m_waterplane_entity
Ogre::Entity* RoR::Water::m_waterplane_entity |
|
private |
◆ m_waterplane_force_update_pos
bool RoR::Water::m_waterplane_force_update_pos |
|
private |
◆ m_waterplane_mesh
Ogre::MeshPtr RoR::Water::m_waterplane_mesh |
|
private |
◆ m_waterplane_mesh_scale
float RoR::Water::m_waterplane_mesh_scale |
|
private |
◆ m_waterplane_node
Ogre::SceneNode* RoR::Water::m_waterplane_node |
|
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 |
|
private |
◆ m_waves_height
float RoR::Water::m_waves_height |
|
private |
◆ m_wavetrain_defs
std::vector<WaveTrain> RoR::Water::m_wavetrain_defs |
|
private |
The documentation for this class was generated from the following files: