#include <CameraManager.h>
Definition at line 37 of file CameraManager.h.
◆ CameraBehaviors
Enumerator |
---|
CAMERA_BEHAVIOR_CHARACTER | |
CAMERA_BEHAVIOR_STATIC | |
CAMERA_BEHAVIOR_VEHICLE | |
CAMERA_BEHAVIOR_VEHICLE_SPLINE | |
CAMERA_BEHAVIOR_VEHICLE_CINECAM | |
CAMERA_BEHAVIOR_END | |
CAMERA_BEHAVIOR_FREE | |
CAMERA_BEHAVIOR_FIXED | |
CAMERA_BEHAVIOR_ISOMETRIC | |
CAMERA_BEHAVIOR_INVALID | |
Definition at line 44 of file CameraManager.h.
◆ CameraManager()
CameraManager::CameraManager |
( |
| ) |
|
◆ ~CameraManager()
CameraManager::~CameraManager |
( |
| ) |
|
◆ ActivateNewBehavior()
void CameraManager::ActivateNewBehavior |
( |
CameraBehaviors |
new_behavior, |
|
|
bool |
reset |
|
) |
| |
|
protected |
◆ CameraBehaviorOrbitMouseMoved()
bool CameraManager::CameraBehaviorOrbitMouseMoved |
( |
| ) |
|
◆ CameraBehaviorOrbitReset()
void CameraManager::CameraBehaviorOrbitReset |
( |
| ) |
|
◆ CameraBehaviorOrbitUpdate()
void CameraManager::CameraBehaviorOrbitUpdate |
( |
| ) |
|
◆ CameraBehaviorStaticMouseMoved()
bool CameraManager::CameraBehaviorStaticMouseMoved |
( |
| ) |
|
|
protected |
◆ CameraBehaviorVehicleMousePressed()
bool CameraManager::CameraBehaviorVehicleMousePressed |
( |
| ) |
|
|
protected |
◆ CameraBehaviorVehicleReset()
void CameraManager::CameraBehaviorVehicleReset |
( |
| ) |
|
|
protected |
◆ CameraBehaviorVehicleSplineCreateSpline()
void CameraManager::CameraBehaviorVehicleSplineCreateSpline |
( |
| ) |
|
|
protected |
◆ CameraBehaviorVehicleSplineMouseMoved()
bool CameraManager::CameraBehaviorVehicleSplineMouseMoved |
( |
| ) |
|
|
protected |
◆ CameraBehaviorVehicleSplineReset()
void CameraManager::CameraBehaviorVehicleSplineReset |
( |
| ) |
|
|
protected |
◆ CameraBehaviorVehicleSplineUpdate()
void CameraManager::CameraBehaviorVehicleSplineUpdate |
( |
| ) |
|
|
protected |
◆ CameraBehaviorVehicleSplineUpdateSpline()
void CameraManager::CameraBehaviorVehicleSplineUpdateSpline |
( |
| ) |
|
|
protected |
◆ CameraBehaviorVehicleSplineUpdateSplineDisplay()
void CameraManager::CameraBehaviorVehicleSplineUpdateSplineDisplay |
( |
| ) |
|
|
protected |
◆ CreateCameraNode()
void CameraManager::CreateCameraNode |
( |
| ) |
|
|
protected |
◆ DeactivateCurrentBehavior()
void CameraManager::DeactivateCurrentBehavior |
( |
| ) |
|
|
protected |
◆ EvaluateSwitchBehavior()
bool CameraManager::EvaluateSwitchBehavior |
( |
| ) |
|
◆ GetCamera()
Ogre::Camera* RoR::CameraManager::GetCamera |
( |
| ) |
|
|
inline |
◆ GetCameraNode()
Ogre::SceneNode* RoR::CameraManager::GetCameraNode |
( |
| ) |
|
|
inline |
◆ GetCurrentBehavior()
◆ handleMouseMoved()
bool CameraManager::handleMouseMoved |
( |
| ) |
|
◆ handleMousePressed()
bool CameraManager::handleMousePressed |
( |
| ) |
|
◆ hasActiveBehavior()
bool CameraManager::hasActiveBehavior |
( |
| ) |
|
◆ NotifyContextChange()
void CameraManager::NotifyContextChange |
( |
| ) |
|
◆ NotifyVehicleChanged()
void CameraManager::NotifyVehicleChanged |
( |
ActorPtr |
new_vehicle | ) |
|
◆ ReCreateCameraNode()
void CameraManager::ReCreateCameraNode |
( |
| ) |
|
Needed since we call Ogre::SceneManager::ClearScene()
after end of sim. session.
Definition at line 142 of file CameraManager.cpp.
◆ ResetAllBehaviors()
void CameraManager::ResetAllBehaviors |
( |
| ) |
|
◆ ResetCurrentBehavior()
void CameraManager::ResetCurrentBehavior |
( |
| ) |
|
|
protected |
◆ switchBehavior()
◆ SwitchBehaviorOnVehicleChange()
◆ switchToNextBehavior()
void CameraManager::switchToNextBehavior |
( |
| ) |
|
◆ ToggleCameraBehavior()
◆ UpdateCameraBehaviorFixed()
void CameraManager::UpdateCameraBehaviorFixed |
( |
| ) |
|
|
protected |
◆ UpdateCameraBehaviorFree()
void CameraManager::UpdateCameraBehaviorFree |
( |
| ) |
|
|
protected |
◆ UpdateCameraBehaviorStatic()
void CameraManager::UpdateCameraBehaviorStatic |
( |
| ) |
|
|
protected |
◆ UpdateCameraBehaviorVehicle()
void CameraManager::UpdateCameraBehaviorVehicle |
( |
| ) |
|
|
protected |
◆ UpdateCurrentBehavior()
void CameraManager::UpdateCurrentBehavior |
( |
| ) |
|
|
protected |
◆ UpdateInputEvents()
void CameraManager::UpdateInputEvents |
( |
float |
dt | ) |
|
◆ m_cam_before_toggled
Toggled modes (FREE, FREEFIX) remember original state.
Definition at line 110 of file CameraManager.h.
◆ m_cam_dist
float RoR::CameraManager::m_cam_dist |
|
protected |
◆ m_cam_dist_max
float RoR::CameraManager::m_cam_dist_max |
|
protected |
◆ m_cam_dist_min
float RoR::CameraManager::m_cam_dist_min |
|
protected |
◆ m_cam_limit_movement
bool RoR::CameraManager::m_cam_limit_movement |
|
protected |
◆ m_cam_look_at
Ogre::Vector3 RoR::CameraManager::m_cam_look_at |
|
protected |
◆ m_cam_look_at_last
Ogre::Vector3 RoR::CameraManager::m_cam_look_at_last |
|
protected |
◆ m_cam_look_at_smooth
Ogre::Vector3 RoR::CameraManager::m_cam_look_at_smooth |
|
protected |
◆ m_cam_look_at_smooth_last
Ogre::Vector3 RoR::CameraManager::m_cam_look_at_smooth_last |
|
protected |
◆ m_cam_ratio
float RoR::CameraManager::m_cam_ratio |
|
protected |
◆ m_cam_rot_x
Ogre::Radian RoR::CameraManager::m_cam_rot_x |
|
protected |
◆ m_cam_rot_y
Ogre::Radian RoR::CameraManager::m_cam_rot_y |
|
protected |
◆ m_cam_target_direction
Ogre::Radian RoR::CameraManager::m_cam_target_direction |
|
protected |
◆ m_cam_target_pitch
Ogre::Radian RoR::CameraManager::m_cam_target_pitch |
|
protected |
◆ m_camera
Ogre::Camera* RoR::CameraManager::m_camera |
|
protected |
◆ m_camera_node
Ogre::SceneNode* RoR::CameraManager::m_camera_node |
|
protected |
◆ m_cct_dt
Ogre::Real RoR::CameraManager::m_cct_dt |
|
protected |
◆ m_cct_player_actor
ActorPtr RoR::CameraManager::m_cct_player_actor |
|
protected |
◆ m_cct_rot_scale
Ogre::Degree RoR::CameraManager::m_cct_rot_scale |
|
protected |
◆ m_cct_sim_speed
float RoR::CameraManager::m_cct_sim_speed |
|
protected |
◆ m_cct_trans_scale
Ogre::Real RoR::CameraManager::m_cct_trans_scale |
|
protected |
◆ m_charactercam_is_3rdperson
bool RoR::CameraManager::m_charactercam_is_3rdperson |
|
protected |
◆ m_current_behavior
◆ m_prev_toggled_cam
Switching toggled modes (FREE, FREEFIX) keeps 1-slot history.
Definition at line 111 of file CameraManager.h.
◆ m_splinecam_auto_tracking
bool RoR::CameraManager::m_splinecam_auto_tracking |
|
protected |
◆ m_splinecam_mo
Ogre::ManualObject* RoR::CameraManager::m_splinecam_mo |
|
protected |
◆ m_splinecam_num_linked_beams
unsigned int RoR::CameraManager::m_splinecam_num_linked_beams |
|
protected |
◆ m_splinecam_spline
Ogre::SimpleSpline* RoR::CameraManager::m_splinecam_spline |
|
protected |
◆ m_splinecam_spline_closed
bool RoR::CameraManager::m_splinecam_spline_closed |
|
protected |
◆ m_splinecam_spline_len
Ogre::Real RoR::CameraManager::m_splinecam_spline_len |
|
protected |
◆ m_splinecam_spline_nodes
std::deque<node_t*> RoR::CameraManager::m_splinecam_spline_nodes |
|
protected |
◆ m_splinecam_spline_pos
Ogre::Real RoR::CameraManager::m_splinecam_spline_pos |
|
protected |
◆ m_staticcam_force_update
bool RoR::CameraManager::m_staticcam_force_update |
|
protected |
◆ m_staticcam_fov_exponent
float RoR::CameraManager::m_staticcam_fov_exponent |
|
protected |
◆ m_staticcam_look_at
Ogre::Vector3 RoR::CameraManager::m_staticcam_look_at |
|
protected |
◆ m_staticcam_position
Ogre::Vector3 RoR::CameraManager::m_staticcam_position |
|
protected |
◆ m_staticcam_previous_fov
Ogre::Radian RoR::CameraManager::m_staticcam_previous_fov |
|
protected |
◆ m_staticcam_update_timer
Ogre::Timer RoR::CameraManager::m_staticcam_update_timer |
|
protected |
The documentation for this class was generated from the following files: