CameraSystem

Documents the CameraSystem class and its functions. This system is responsible for managing the different cameras and camera modes in the game.

NOT DOCUMENTED We currently don't have information on how these functions work. They are being documented here for visibility.

Invoking CameraSystem

To invoke the camera system, use the following Global function:

cams = Game.GetCameraSystem()

Sub-functions

AbandonBlendCamera

AbandonBlendCamera();

GetActiveCameraData

GetActiveCameraData() : CameraData;

GetActiveCameraForward

GetActiveCameraForward() : Vector4;

GetActiveCameraFOV

GetActiveCameraFOV() : Float;

GetActiveCameraRight

GetActiveCameraRight() : Vector4;

GetActiveCameraUp

GetActiveCameraUp() : Vector4;

GetActiveCameraWorldTransform

GetActiveCameraWorldTransform(transform : Transform) : Bool;

GetAspectRatio

GetAspectRatio() : Float;

PrepareBlendCamera

PrepareBlendCamera();

ProjectPoint

ProjectPoint(worldSpacePoint : Vector4) : Vector4;

UnprojectPoint

UnprojectPoint(screenSpacePoint : Vector2) : Vector4;

Last updated