GetCameraFov
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) m |
||
Line 1: | Line 1: | ||
+ | {{lua-function|getCameraFov|object}} | ||
+ | |||
Get the camera field of view. | Get the camera field of view. | ||
Revision as of 17:14, 8 February 2014
getCameraFov(object)
Get the camera field of view.
Camera = getObject("Camera") -- Scene update function onSceneUpdate() cFOV = getCameraFov(Camera) -- you can rename cFOV to whatever you like end
Advanced use in setCameraFov over here : [[1]]