gta.setCameraLookAt

From GTA Connected
Jump to navigation Jump to search

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

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

The gta.setCameraLookAt function is used to set the camera position and camera look-at position.

Parameters

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

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

  • This function was previously named game.setCameraLookAt in client version 1.0.71.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png gta.cameraInterior
icon-iii.png icon-vc.png icon-sa.png gta.cameraMatrix
icon-iii.png icon-vc.png icon-sa.png gta.cameraTarget
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.fadeCamera
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.fading
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.restoreCamera
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.setCameraLookAt
icon-iii.png icon-vc.png icon-sa.png gta.setCameraLookAtEntity
icon-iii.png icon-vc.png icon-sa.png gta.setCameraMatrix
icon-iii.png icon-vc.png icon-sa.png gta.setCameraTarget
icon-iii.png icon-vc.png icon-sa.png gta.setGenerateCarsAroundCamera
icon-iii.png icon-vc.png icon-sa.png gta.updateCamera