Table of Contents

Interface ICameraManager

Namespace
CHTLand.SDK.Module.Input
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 bool

First Person Camera is On

SetFov(float)

Change the field of view of current camera.

void SetFov(float fov)

Parameters

fov float

field of view

SetOffset(Vector3)

A translation offset applied to the actor camera in relation to the player actor.

void SetOffset(Vector3 offset)

Parameters

offset Vector3

3 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

duration float
magnitude float

SwitchToFixedCamera()

void SwitchToFixedCamera()

SwitchToFreeLookCamera()

void SwitchToFreeLookCamera()