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 ​
entityToAttachTo ​
• Optional entityToAttachTo: number
The entity to attach this camera to, can be a vehicle, ped, etc. Use scriptID for this.
Defined in ​
entityToTrack ​
• Optional entityToTrack: number
The entity scriptID to follow with the camera.
Defined in ​
fov ​
• fov: number
The FOV for the camera. Default is set to 90.
Defined in ​
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 ​
pedBone ​
• Optional pedBone: number
A pedestrian bone index to attach to if entityToAttachTo is specified
Defined in ​
pos ​
• pos: IVector3
Position for where to create this camera.
Defined in ​
positionToTrack ​
• Optional positionToTrack: IVector3
A position to point that camera towards if applicable.
Defined in ​
rot ​
• Optional rot: IVector3
Rotation of the camera, if applicable. Also applies as rotation for entity attachment if applicable.
Defined in ​
vehicleBone ​
• Optional vehicleBone: number
A vehicle bone index to attach to if entityToAttachTo is specified
 V5 Docs
V5 Docs