HU/getCamera: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Client function hu}} __NOTOC__ {{New items|3.0135|1.3.5| This function returns an element that corresponds to the game camera }} {{Note|Using attachElements with the ca...") |
No edit summary |
||
Line 22: | Line 22: | ||
attachElements( cam, myVehicle, 0,-4,2, -20,0,0 ) | attachElements( cam, myVehicle, 0,-4,2, -20,0,0 ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Lásd még== | ==Lásd még== | ||
Line 28: | Line 28: | ||
[[hu:getCamera]] | [[hu:getCamera]] | ||
[[ar:getCamera]] | |||
==Fordította== | ==Fordította== | ||
* '''''Surge''''' | * '''''Surge''''' |
Revision as of 13:40, 13 August 2018
This function returns an element that corresponds to the game camera
Syntax
element getCamera ()
Visszatérési érték
Returns an element that corresponds to the game camera
Példa
This example attaches (fixes) the camera to a vehicle.
local cam = getCamera() setElementPosition( cam, 0,0,0 ) -- Clear camera target local myVehicle = getPedOccupiedVehicle(localPlayer) attachElements( cam, myVehicle, 0,-4,2, -20,0,0 )
Lásd még
- getCamera
- getCameraClip
- getCameraFieldOfView
- getCameraGoggleEffect
- getCameraViewMode
- setCameraClip
- setCameraFieldOfView
- setCameraGoggleEffect
- setCameraViewMode
- Shared
- fadeCamera
- getCameraInterior
- getCameraMatrix
- getCameraTarget
- setCameraInterior
- setCameraMatrix
- setCameraTarget
Fordította
- Surge