LUADOC - Farming Simulator 17

Printable Version

createCamera

Description
Create camera
Definition
createCamera(string cameraName, float fovy, float nearClip, float farClip)
Arguments
stringcameraNamecamera name
floatfovyfield of view angle (degree)
floatnearClipnear clip
floatfarClipfar clip
Return Values
integercameraIdid of the camera