Skip to content
On this page

AthenaClient.camera.cinematic.iCameraNode ​

client/camera/cinematic.iCameraNode

Properties ​

easeTime ​

• Optional easeTime: number

Time to ease between camera nodes. If only one camera node is present it does not apply.

Defined in ​

client/camera/cinematic.ts:51


entityToAttachTo ​

• Optional entityToAttachTo: number

The entity to attach this camera to, can be a vehicle, ped, etc. Use scriptID for this.

Defined in ​

client/camera/cinematic.ts:76


entityToTrack ​

• Optional entityToTrack: number

The entity scriptID to follow with the camera.

Defined in ​

client/camera/cinematic.ts:59


fov ​

• fov: number

The FOV for the camera. Default is set to 90.

Defined in ​

client/camera/cinematic.ts:43


isLastNode ​

• Optional isLastNode: boolean

If this is the last camera node, should we destroy the camera after easeTime?

Defined in ​

client/camera/cinematic.ts:100


offset ​

• Optional offset: IVector3

Applies to entity attachment, and the offset from said entity.

Defined in ​

client/camera/cinematic.ts:35


pedBone ​

• Optional pedBone: number

A pedestrian bone index to attach to if entityToAttachTo is specified

Defined in ​

client/camera/cinematic.ts:92


pos ​

• pos: IVector3

Position for where to create this camera.

Defined in ​

client/camera/cinematic.ts:18


positionToTrack ​

• Optional positionToTrack: IVector3

A position to point that camera towards if applicable.

Defined in ​

client/camera/cinematic.ts:67


rot ​

• Optional rot: IVector3

Rotation of the camera, if applicable. Also applies as rotation for entity attachment if applicable.

Defined in ​

client/camera/cinematic.ts:27


vehicleBone ​

• Optional vehicleBone: number

A vehicle bone index to attach to if entityToAttachTo is specified

Defined in ​

client/camera/cinematic.ts:84

Created by Stuyk | Est. 2020