gta.fadeCamera: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
m (Mex moved page Gta.fadeCamera to gta.fadeCamera)
 
(No difference)

Latest revision as of 15:44, 24 August 2019

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

Available since Server 1.1.0, Client 1.1.0
Server:

void gta.fadeCamera(Client client, bool fadeIn, [ float time = 1.0 ], [ int colour = 0 ])

Client:

void gta.fadeCamera(bool fadeIn, [ float time = 1.0 ], [ int colour = 0 ])

The gta.fadeCamera function is used to fade the game camera.

Parameters

1) Client client The client to fade the camera for. Server only.
2) bool fadeIn Whether to fade in or fade out.
3) float time Optional, defaults to 1.0. The duration to fade over, in seconds.
4) int colour Optional, defaults to 0. The destination colour of the fade.

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.fadeCamera in version 1.0.71.

Related

Server Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.fadeCamera


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