GetCameraFov

From MaratisWiki
Jump to: navigation, search

getCameraFov(object)

Get the camera field of view.

  • object : object to operate on
   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