#include <CameraManager.h>
◆ CameraManager() [1/3]
CameraManager::CameraManager |
( |
| ) |
|
◆ CameraManager() [2/3]
◆ CameraManager() [3/3]
◆ ~CameraManager()
CameraManager::~CameraManager |
( |
| ) |
|
◆ Delete()
void CameraManager::Delete |
( |
| ) |
|
Deletes the defualt camera.
◆ GetCurrent2DCamera()
Camera * CameraManager::GetCurrent2DCamera |
( |
| ) |
|
Gets current 2D camera.
- Returns
- Null if it fails, else the current 2D camera.
◆ GetCurrentCamera()
Camera * CameraManager::GetCurrentCamera |
( |
| ) |
|
Gets current camera.
- Returns
- Null if it fails, else the current camera.
◆ operator=() [1/2]
Move assignment operator.
◆ operator=() [2/2]
◆ ProcessGodCamera()
void CameraManager::ProcessGodCamera |
( |
| ) |
|
◆ SetCurrent2DCamera()
void CameraManager::SetCurrent2DCamera |
( |
Camera * |
newCamera | ) |
|
Sets current 2D camera.
- Parameters
-
[in,out] | newCamera | If non-null, the current 2D cam becomes the newCamera. |
Changes the current 2D camera to be a user provided camera. Ensure the input is an Orthographic camera.
◆ SetCurrentCamera()
void CameraManager::SetCurrentCamera |
( |
Camera * |
newCamera | ) |
|
Sets current camera.
- Parameters
-
[in,out] | newCamera | If non-null, sets the pCurrentCam to be the newCamera. |
◆ SetGodCamera()
void CameraManager::SetGodCamera |
( |
| ) |
|
◆ CamDir
Vect CameraManager::CamDir |
|
private |
◆ CamPos
Vect CameraManager::CamPos |
|
private |
◆ CamRot
Matrix CameraManager::CamRot |
|
private |
◆ CamRotSpeed
const float CameraManager::CamRotSpeed = 0.02f |
|
private |
◆ CamTranSpeed
const float CameraManager::CamTranSpeed = 5.0f |
|
private |
◆ CamUp
Vect CameraManager::CamUp |
|
private |
◆ pCurrent2DCam
Camera* CameraManager::pCurrent2DCam |
|
private |
the current 2D camera used by the scene.
◆ pCurrentCam
Camera* CameraManager::pCurrentCam |
|
private |
The current camera used by the scene.
◆ pDefault2DCam
Camera* CameraManager::pDefault2DCam |
|
private |
◆ pDefaultCam
Camera* CameraManager::pDefaultCam |
|
private |
◆ pGodCam
Camera* CameraManager::pGodCam |
|
private |
The documentation for this class was generated from the following files: