HU/getCameraClip
Jump to navigation
Jump to search
This function checks if the camera will "collide" with any objects or vehicles in its way. Read more about this here.
Syzintaxis
bool, bool getCameraClip()
OOP Syntax Help! I don't understand this!
- Method: Camera.getClip(...)
- Counterpart: setCameraClip
Visszatérési érték
- objects: if you want the camera to clip on objects.
- vehicles: if you want the camera to clip on vehicles.
Példa
Ez a function a klip állapotát ellenőrzi.
function checkClipStatus() local obj, veh = Camera.getClip() outputChatBox ("Your camera can" .. (veh and "" or "not") .. "see the vehicle interior at the moment!",255,0,0,false) outputChatBox ("Your camera can" .. (obj and "" or "not") .. "collide with objects at the moment!",255,0,0,false) end addEventHandler("clipstatus",checkClipStatus)
Lásd még
- HU/fadeCamera
- HU/getCamera
- HU/getCameraClip
- HU/getCameraFieldOfView
- HU/getCameraGoggleEffect
- HU/getCameraInterior
- HU/getCameraMatrix
- HU/getCameraShakeLevel
- HU/getCameraTarget
- HU/getCameraViewMode
- HU/setCameraClip
- HU/setCameraFieldOfView
- HU/setCameraGoggleEffect
- HU/setCameraInterior
- HU/setCameraMatrix
- HU/setCameraShakeLevel
- HU/setCameraTarget
- HU/setCameraViewMode
Fordította
- Surge