GetCameraFov
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) |
||
| Line 10: | Line 10: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
| + | [[Category:Lua function]] | ||
| + | [[Category:Camera]] | ||
Revision as of 18:40, 4 February 2014
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]]