gta.setCameraLookAt

Revision as of 19:55, 28 September 2019 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

gta.setCameraLookAt

Signature: void gta.setCameraLookAt(Vec3 cameraPosition, Vec3 cameraLookAtPosition, bool jumpCut)

Usage: set the camera position and camera look-at position

Parameters

Vec3 cameraPosition The new 3D position for the camera.
Vec3 cameraLookAtPosition The new 3D position for the camera look-at.
bool jumpCut Whether to cut (teleport) or interpolate the camera to the new position.

Return

void

On failure: void