GetCamera: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{client function}} __NOTOC__ {{New items|4.0132|1.3.5| This function returns an element that corresponds to the game camera }} ==Syntax== <syntaxhighlight lang="lua"> element getCamera ()...") |
No edit summary |
||
Line 21: | Line 21: | ||
==See Also== | ==See Also== | ||
{{ | {{Client camera functions}} |
Revision as of 21:17, 18 December 2013
Syntax
element getCamera ()
Returns
- Returns an element that corresponds to the game camera
Example
This example attaches the camera to a vehicle
cam = getCamera() myVehicle = getPedOccupiedVehicle(localPlayer) attachElements( cam, myVehicle, 0,-4,2, -20,0,0 )
See Also
- getCamera
- getCameraClip
- getCameraFieldOfView
- getCameraGoggleEffect
- getCameraViewMode
- setCameraClip
- setCameraFieldOfView
- setCameraGoggleEffect
- setCameraViewMode
- Shared
- fadeCamera
- getCameraInterior
- getCameraMatrix
- getCameraTarget
- setCameraInterior
- setCameraMatrix
- setCameraTarget