#include <CameraController.h>
◆ CCameraController()
CCameraController::CCameraController |
( |
CCamera & |
camera | ) |
|
◆ ~CCameraController()
CCameraController::~CCameraController |
( |
| ) |
|
|
overridedefault |
◆ FocusHeight()
void CCameraController::FocusHeight |
( |
bool |
smooth | ) |
|
|
private |
◆ FollowEntity()
void CCameraController::FollowEntity |
( |
entity_id_t |
entity, |
|
|
bool |
firstPerson |
|
) |
| |
|
overridevirtual |
◆ GetCameraPivot()
CVector3D CCameraController::GetCameraPivot |
( |
| ) |
const |
|
overridevirtual |
◆ GetCameraPosition()
CVector3D CCameraController::GetCameraPosition |
( |
| ) |
const |
|
overridevirtual |
◆ GetCameraRotation()
CVector3D CCameraController::GetCameraRotation |
( |
| ) |
const |
|
overridevirtual |
◆ GetCameraZoom()
float CCameraController::GetCameraZoom |
( |
| ) |
const |
|
overridevirtual |
◆ GetConstrainCamera()
bool CCameraController::GetConstrainCamera |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetFollowedEntity()
◆ GetSmoothPivot()
◆ HandleEvent()
◆ LoadConfig()
void CCameraController::LoadConfig |
( |
| ) |
|
|
overridevirtual |
◆ MoveCameraTarget()
void CCameraController::MoveCameraTarget |
( |
const CVector3D & |
target | ) |
|
|
overridevirtual |
◆ NONCOPYABLE()
◆ ResetCameraAngleZoom()
void CCameraController::ResetCameraAngleZoom |
( |
| ) |
|
|
private |
◆ ResetCameraTarget()
void CCameraController::ResetCameraTarget |
( |
const CVector3D & |
target | ) |
|
|
overridevirtual |
◆ SetCamera()
void CCameraController::SetCamera |
( |
const CVector3D & |
pos, |
|
|
float |
rotX, |
|
|
float |
rotY, |
|
|
float |
zoom |
|
) |
| |
|
overridevirtual |
◆ SetCameraProjection()
void CCameraController::SetCameraProjection |
( |
| ) |
|
|
private |
Set projection of current camera using near, far, and FOV values.
◆ SetConstrainCamera()
void CCameraController::SetConstrainCamera |
( |
bool |
constrain | ) |
|
|
inlineoverridevirtual |
◆ SetupCameraMatrixNonSmooth()
void CCameraController::SetupCameraMatrixNonSmooth |
( |
CMatrix3D * |
orientation | ) |
|
|
private |
◆ SetupCameraMatrixSmooth()
void CCameraController::SetupCameraMatrixSmooth |
( |
CMatrix3D * |
orientation | ) |
|
|
private |
◆ SetupCameraMatrixSmoothRot()
void CCameraController::SetupCameraMatrixSmoothRot |
( |
CMatrix3D * |
orientation | ) |
|
|
private |
◆ SetViewport()
void CCameraController::SetViewport |
( |
const SViewPort & |
vp | ) |
|
|
overridevirtual |
◆ Update()
void CCameraController::Update |
( |
const float |
deltaRealTime | ) |
|
|
overridevirtual |
◆ m_ConstrainCamera
bool CCameraController::m_ConstrainCamera |
|
private |
Whether the camera movement should be constrained by min/max limits and terrain avoidance.
◆ m_FollowEntity
Entity for the camera to follow, or INVALID_ENTITY if none.
◆ m_FollowFirstPerson
bool CCameraController::m_FollowFirstPerson |
|
private |
Whether to follow FollowEntity in first-person mode.
◆ m_HeightMin
float CCameraController::m_HeightMin |
|
private |
◆ m_HeightSmoothness
float CCameraController::m_HeightSmoothness |
|
private |
◆ m_PosX
◆ m_PosY
◆ m_PosZ
◆ m_RotateX
◆ m_RotateY
◆ m_ViewDragSpeed
float CCameraController::m_ViewDragSpeed |
|
private |
◆ m_ViewFar
float CCameraController::m_ViewFar |
|
private |
◆ m_ViewFOV
float CCameraController::m_ViewFOV |
|
private |
◆ m_ViewNear
float CCameraController::m_ViewNear |
|
private |
◆ m_ViewRotateSpeedModifier
float CCameraController::m_ViewRotateSpeedModifier |
|
private |
◆ m_ViewRotateXDefault
float CCameraController::m_ViewRotateXDefault |
|
private |
◆ m_ViewRotateXMax
float CCameraController::m_ViewRotateXMax |
|
private |
◆ m_ViewRotateXMin
float CCameraController::m_ViewRotateXMin |
|
private |
◆ m_ViewRotateXSpeed
float CCameraController::m_ViewRotateXSpeed |
|
private |
◆ m_ViewRotateYDefault
float CCameraController::m_ViewRotateYDefault |
|
private |
◆ m_ViewRotateYSpeed
float CCameraController::m_ViewRotateYSpeed |
|
private |
◆ m_ViewRotateYSpeedWheel
float CCameraController::m_ViewRotateYSpeedWheel |
|
private |
◆ m_ViewScrollMouseDetectDistance
int CCameraController::m_ViewScrollMouseDetectDistance |
|
private |
◆ m_ViewScrollSpeed
float CCameraController::m_ViewScrollSpeed |
|
private |
◆ m_ViewScrollSpeedModifier
float CCameraController::m_ViewScrollSpeedModifier |
|
private |
◆ m_ViewZoomDefault
float CCameraController::m_ViewZoomDefault |
|
private |
◆ m_ViewZoomMax
float CCameraController::m_ViewZoomMax |
|
private |
◆ m_ViewZoomMin
float CCameraController::m_ViewZoomMin |
|
private |
◆ m_ViewZoomSpeed
float CCameraController::m_ViewZoomSpeed |
|
private |
◆ m_ViewZoomSpeedModifier
float CCameraController::m_ViewZoomSpeedModifier |
|
private |
◆ m_ViewZoomSpeedWheel
float CCameraController::m_ViewZoomSpeedWheel |
|
private |
◆ m_Zoom
The documentation for this class was generated from the following files: