#include <GfxWater.h>
Definition at line 40 of file GfxWater.h.
◆ GfxWater()
| GfxWater::GfxWater |
( |
Ogre::Vector3 |
terrn_size, |
|
|
float |
initial_water_height |
|
) |
| |
◆ ~GfxWater()
◆ ClearForcedCameraTransform()
| void GfxWater::ClearForcedCameraTransform |
( |
| ) |
|
|
overridevirtual |
◆ FrameStepWater()
| void GfxWater::FrameStepWater |
( |
float |
dt | ) |
|
|
overridevirtual |
◆ IsCameraUnderWater()
| bool GfxWater::IsCameraUnderWater |
( |
| ) |
|
|
private |
◆ PrepareWater()
| void GfxWater::PrepareWater |
( |
| ) |
|
|
private |
◆ SetForcedCameraTransform()
| void GfxWater::SetForcedCameraTransform |
( |
Ogre::Radian |
fovy, |
|
|
Ogre::Vector3 |
pos, |
|
|
Ogre::Quaternion |
rot |
|
) |
| |
|
overridevirtual |
◆ SetReflectionPlaneHeight()
| void GfxWater::SetReflectionPlaneHeight |
( |
float |
centerheight | ) |
|
|
overridevirtual |
◆ SetWaterBottomHeight()
| void GfxWater::SetWaterBottomHeight |
( |
float |
value | ) |
|
|
overridevirtual |
◆ SetWaterVisible()
| void GfxWater::SetWaterVisible |
( |
bool |
value | ) |
|
|
overridevirtual |
◆ ShowWave()
| void GfxWater::ShowWave |
( |
Ogre::Vector3 |
refpos | ) |
|
|
private |
◆ UpdateReflectionPlane()
| void GfxWater::UpdateReflectionPlane |
( |
float |
h | ) |
|
|
overridevirtual |
◆ UpdateWater()
| void GfxWater::UpdateWater |
( |
| ) |
|
|
overridevirtual |
◆ WaterPrepareShutdown()
| void GfxWater::WaterPrepareShutdown |
( |
| ) |
|
|
overridevirtual |
◆ m_bottom_height
| float RoR::GfxWater::m_bottom_height = 0.f |
|
private |
◆ m_bottom_plane
| Ogre::Plane RoR::GfxWater::m_bottom_plane |
|
private |
◆ m_bottomplane_node
| Ogre::SceneNode* RoR::GfxWater::m_bottomplane_node = nullptr |
|
private |
◆ m_cam_forced
| bool RoR::GfxWater::m_cam_forced = false |
|
private |
◆ m_cam_forced_fovy
| Ogre::Radian RoR::GfxWater::m_cam_forced_fovy = Ogre::Radian(0.f) |
|
private |
◆ m_cam_forced_orientation
| Ogre::Quaternion RoR::GfxWater::m_cam_forced_orientation = Ogre::Quaternion::IDENTITY |
|
private |
◆ m_cam_forced_position
| Ogre::Vector3 RoR::GfxWater::m_cam_forced_position = Ogre::Vector3::ZERO |
|
private |
◆ m_frame_counter
| int RoR::GfxWater::m_frame_counter = 0 |
|
private |
◆ m_map_size
| Ogre::Vector3 RoR::GfxWater::m_map_size = Ogre::Vector3::ZERO |
|
private |
◆ m_reflect_cam
| Ogre::Camera* RoR::GfxWater::m_reflect_cam = nullptr |
|
private |
◆ m_reflect_listener
◆ m_reflect_plane
| Ogre::Plane RoR::GfxWater::m_reflect_plane |
|
private |
◆ m_reflect_rtt_target
| Ogre::RenderTexture* RoR::GfxWater::m_reflect_rtt_target = nullptr |
|
private |
◆ m_reflect_rtt_texture
| Ogre::TexturePtr RoR::GfxWater::m_reflect_rtt_texture |
|
private |
◆ m_reflect_rtt_viewport
| Ogre::Viewport* RoR::GfxWater::m_reflect_rtt_viewport = nullptr |
|
private |
◆ m_refract_cam
| Ogre::Camera* RoR::GfxWater::m_refract_cam = nullptr |
|
private |
◆ m_refract_listener
◆ m_refract_plane
| Ogre::Plane RoR::GfxWater::m_refract_plane |
|
private |
◆ m_refract_rtt_target
| Ogre::RenderTexture* RoR::GfxWater::m_refract_rtt_target = nullptr |
|
private |
◆ m_refract_rtt_texture
| Ogre::TexturePtr RoR::GfxWater::m_refract_rtt_texture |
|
private |
◆ m_refract_rtt_viewport
| Ogre::Viewport* RoR::GfxWater::m_refract_rtt_viewport = nullptr |
|
private |
◆ m_visual_water_height
| float RoR::GfxWater::m_visual_water_height = 0.f |
|
private |
◆ m_water_plane
| Ogre::Plane RoR::GfxWater::m_water_plane |
|
private |
◆ m_water_visible
| bool RoR::GfxWater::m_water_visible = true |
|
private |
◆ m_waterplane_entity
| Ogre::Entity* RoR::GfxWater::m_waterplane_entity = nullptr |
|
private |
◆ m_waterplane_force_update_pos
| bool RoR::GfxWater::m_waterplane_force_update_pos = false |
|
private |
◆ m_waterplane_mesh
| Ogre::MeshPtr RoR::GfxWater::m_waterplane_mesh |
|
private |
◆ m_waterplane_mesh_scale
| float RoR::GfxWater::m_waterplane_mesh_scale = 1.f |
|
private |
◆ m_waterplane_node
| Ogre::SceneNode* RoR::GfxWater::m_waterplane_node = nullptr |
|
private |
◆ m_waterplane_vert_buf
| Ogre::HardwareVertexBufferSharedPtr RoR::GfxWater::m_waterplane_vert_buf |
|
private |
◆ m_waterplane_vert_buf_local
| float* RoR::GfxWater::m_waterplane_vert_buf_local = nullptr |
|
private |
The documentation for this class was generated from the following files: