gta.restoreCamera: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
|type = function | |type = function | ||
|name = gta.restoreCamera | |name = gta.restoreCamera | ||
|usage = restore the camera | |usage = restore the camera (returns the camera to normal control behind the player) | ||
|parameters = bool jumpCut | |parameters = bool jumpCut | ||
|parameter1 = bool jumpCut Whether to cut (teleport) or interpolate the camera to the restored position. | |parameter1 = bool jumpCut Whether to cut (teleport) or interpolate (move) the camera to the restored position. | ||
|bcMaxVersion = 1.0.71 | |bcMaxVersion = 1.0.71 | ||
|bcName = game.restoreCamera | |bcName = game.restoreCamera |
Latest revision as of 06:48, 19 May 2021
Function
Client Only
Online and Offline
Available since Client 1.0.0
void gta.restoreCamera(bool jumpCut)
The gta.restoreCamera function is used to restore the camera (returns the camera to normal control behind the player).
Parameters
1) | bool | jumpCut | Whether to cut (teleport) or interpolate (move) the camera to the restored 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.restoreCamera
in client version 1.0.71.
Related
Client Related
gta.cameraInterior
gta.cameraMatrix
gta.cameraTarget
gta.fadeCamera
gta.fading
gta.restoreCamera
gta.setCameraLookAt
gta.setCameraLookAtEntity
gta.setCameraMatrix
gta.setCameraTarget
gta.setGenerateCarsAroundCamera
gta.updateCamera