|
proto external CameraBase | CurrentCamera () |
| Returns the current camera.
|
|
proto external bool | SetCamera (CameraBase pCam) |
| Set the current camera, it should be alreday registered in this Camera Manager.
|
|
proto external void | SetNextCamera () |
| Set the next camera in the list as current camera.
|
|
proto external void | SetPreviousCamera () |
| Set the previous camera in the list as current camera.
|
|
proto external int | GetCamerasList (out notnull array< CameraBase > outCameras) |
| Return the list of all cameras.
|
|
proto external void | SetOverlayCamera (CameraBase pCam) |
| Set the current overlay camera.
|
|
proto external CameraBase | GetOverlayCamera () |
| Get the current overlay camera.
|
|
proto external void | SetFirstPersonFOV (float fieldOfView) |
| Sets default first person field of view.
|
|
proto external float | GetFirstPersonFOV () |
| Returns default first person field of view.
|
|
proto external void | SetThirdPersonFOV (float fieldOfView) |
| Sets default first person field of view.
|
|
proto external float | GetThirdPersonFOV () |
| Returns default third person field of view.
|
|
proto external void | SetVehicleFOV (float fieldOfView) |
| Sets default vehicle field of view.
|
|
proto external float | GetVehicleFOV () |
| Returns default vehicle field of view.
|
|
proto external float | GetClampedFOV (float fieldOfView) |
| Returns value clamped between min and max settings.
|
|
proto external float | GetMinFOV () |
| Returns minimum allowed field of view value.
|
|
proto external float | GetMaxFOV () |
| Returns maximum allowed field of view value.
|
|
|
void | OnInit () |
| Called on initialization.
|
|
◆ CurrentCamera()
proto external CameraBase CameraManager.CurrentCamera |
( |
| ) |
|
Returns the current camera.
◆ GetCamerasList()
proto external int CameraManager.GetCamerasList |
( |
out notnull array< CameraBase > |
outCameras | ) |
|
Return the list of all cameras.
- Parameters
-
outCameras | List where all cameras will be inserted. |
- Returns
- The number of camera in the list
◆ GetClampedFOV()
proto external float CameraManager.GetClampedFOV |
( |
float |
fieldOfView | ) |
|
Returns value clamped between min and max settings.
◆ GetFirstPersonFOV()
proto external float CameraManager.GetFirstPersonFOV |
( |
| ) |
|
Returns default first person field of view.
◆ GetMaxFOV()
proto external float CameraManager.GetMaxFOV |
( |
| ) |
|
Returns maximum allowed field of view value.
◆ GetMinFOV()
proto external float CameraManager.GetMinFOV |
( |
| ) |
|
Returns minimum allowed field of view value.
◆ GetOverlayCamera()
proto external CameraBase CameraManager.GetOverlayCamera |
( |
| ) |
|
Get the current overlay camera.
- Returns
- Returns the current overlay canera or null if none.
◆ GetThirdPersonFOV()
proto external float CameraManager.GetThirdPersonFOV |
( |
| ) |
|
Returns default third person field of view.
◆ GetVehicleFOV()
proto external float CameraManager.GetVehicleFOV |
( |
| ) |
|
Returns default vehicle field of view.
◆ OnInit()
void CameraManager.OnInit |
( |
| ) |
|
|
protected |
◆ SetCamera()
proto external bool CameraManager.SetCamera |
( |
CameraBase |
pCam | ) |
|
Set the current camera, it should be alreday registered in this Camera Manager.
- Parameters
-
cam | Camera which will be the new camera used. |
◆ SetFirstPersonFOV()
proto external void CameraManager.SetFirstPersonFOV |
( |
float |
fieldOfView | ) |
|
Sets default first person field of view.
◆ SetNextCamera()
proto external void CameraManager.SetNextCamera |
( |
| ) |
|
Set the next camera in the list as current camera.
◆ SetOverlayCamera()
proto external void CameraManager.SetOverlayCamera |
( |
CameraBase |
pCam | ) |
|
Set the current overlay camera.
- Parameters
-
pCamera | Camera which will be the new overlay camera. |
◆ SetPreviousCamera()
proto external void CameraManager.SetPreviousCamera |
( |
| ) |
|
Set the previous camera in the list as current camera.
◆ SetThirdPersonFOV()
proto external void CameraManager.SetThirdPersonFOV |
( |
float |
fieldOfView | ) |
|
Sets default first person field of view.
◆ SetVehicleFOV()
proto external void CameraManager.SetVehicleFOV |
( |
float |
fieldOfView | ) |
|
Sets default vehicle field of view.
The documentation for this interface was generated from the following file:
- Game/generated/Camera/CameraManager.c