đšCamera
General game-camera component.
Last updated
General game-camera component.
Last updated
Name | Type | Description |
---|---|---|
Camera.GetType()
: string
Name | Description |
---|---|
Camera.IsScriptCameraOn()
: boolean
Returns true/false depending if script camera is currently enabled.
Camera.ToggleScriptCamera(toggle: boolean)
Toggles script camera depending of value.
Camera.SetScriptCameraEyeLook(eye: Vector3, look: Vector3, duration: float)
Updates script camera position & look.
Camera.SetScriptCameraDOF(focaldistance: float, focusrange: float, nearblendrange: float, nearblurradius: float, farblendrange: float, farblendradius: float)
Camera.ResetScriptCameraDOF()
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
FOV
float
Field of view (Offset)
OverrideFOV
float
Field of view (Override)
EnableOverrideFOV
boolean
Toggles Override Field of view
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
toggle
boolean
Toggles scriptcamera
eye
Vector3
World Coordinate of Camera position
look
Vector3
World Coordinate of Camera look
duration
float
Duration it takes to the new eye & look