Interface ICameraManager
public interface ICameraManager
Methods
CameraChangeBack()
void CameraChangeBack()
CameraChangeTarget(GameObject)
void CameraChangeTarget(GameObject obj)
Parameters
obj
GameObject
ChangeToFirstPerson(bool)
When true the actor camera will be forced into first person mode.
void ChangeToFirstPerson(bool isOn)
Parameters
isOn
boolFirst Person Camera is On
SetFov(float)
Change the field of view of current camera.
void SetFov(float fov)
Parameters
fov
floatfield of view
SetOffset(Vector3)
A translation offset applied to the actor camera in relation to the player actor.
void SetOffset(Vector3 offset)
Parameters
offset
Vector33 dimension translation
SetZoomDistance(float)
The current 3rd person camera distance from the player actor.
void SetZoomDistance(float distance)
Parameters
distance
float
Shake(float, float)
Apply a high frequency shake to the player camera and all virtual cameras. Good for short, low to high intensity impacts.
void Shake(float duration, float magnitude)
Parameters
SwitchToFixedCamera()
void SwitchToFixedCamera()
SwitchToFreeLookCamera()
void SwitchToFreeLookCamera()