GetCameraFov

(Difference between revisions)
Jump to: navigation, search
(Created page with "Get the camera field of view. Camera = getObject("Camera") -- Scene update function onSceneUpdate() cFOV = getCameraFov(Camera) -- you can rename cFOV to...")
 
Line 8: Line 8:
 
 
 
Advanced use in setCameraFov over here : [[http://wiki.maratis3d.org/index.php?title=SetCameraFov]]
 
Advanced use in setCameraFov over here : [[http://wiki.maratis3d.org/index.php?title=SetCameraFov]]
 +
 +
[[Category:Lua scripting]]

Revision as of 19:11, 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]]

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox