EnableCameraOrtho

(Difference between revisions)
Jump to: navigation, search
Line 10: Line 10:
  
 
[[Category:Lua scripting]]
 
[[Category:Lua scripting]]
 +
[[Category:Lua function]]
 +
[[Category:Camera]]

Revision as of 19:41, 4 February 2014

Enable or disable orthographic view.

Camera = getCurrentCamera()
-- Use orthographic view
enableCameraOrtho(Camera, true)
-- Use perspective view
enableCameraOrtho(Camera, false)

To check if camera is orthographic use isCameraOrtho.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox