Camera
General game-camera component.
Properties:
FOV
float
Field of view (Offset)
OverrideFOV
float
Field of view (Override)
EnableOverrideFOV
boolean
Toggles Override Field of view
Static Functions:
.GetType
Camera.GetType()
: string
AnimatedCamera
Used only by SkookumScript missions
BaseCamera
Base component of each camera type
ChaseCamera
Used while driving vehicle
DebugCamera
Unknown
FollowCamera
Used while on foot
GameCamera
Base component for Chase/Follow/Script
ProgressionCamera
Unknown
ScriptCamera
Used only by SkookumScript missions
TurfCamera
Unknown
.IsScriptCameraOn
Camera.IsScriptCameraOn()
: boolean
Returns true/false depending if script camera is currently enabled.
.ToggleScriptCamera
Camera.ToggleScriptCamera(toggle: boolean)
toggle
boolean
Toggles scriptcamera
Toggles script camera depending of value.
.SetScriptCameraEyeLook
Camera.SetScriptCameraEyeLook(eye: Vector3, look: Vector3, duration: float)
eye
Vector3
World Coordinate of Camera position
look
Vector3
World Coordinate of Camera look
duration
float
Duration it takes to the new eye & look
Updates script camera position & look.
.SetScriptCameraDOF
Camera.SetScriptCameraDOF(focaldistance: float, focusrange: float, nearblendrange: float, nearblurradius: float, farblendrange: float, farblendradius: float)
.ResetScriptCameraDOF
Camera.ResetScriptCameraDOF()
Last updated