EnableCameraOrtho

(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
  
 
To check if camera is orthographic use [[isCameraOrtho]].
 
To check if camera is orthographic use [[isCameraOrtho]].
 +
 +
[[Category:Lua scripting]]

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