EnableCameraOrtho

(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 +
{{lua-function|enableCameraOrtho|object, bool}}
 +
 
Enable or disable orthographic view.
 
Enable or disable orthographic view.
  

Revision as of 18:18, 8 February 2014

enableCameraOrtho(object, bool)

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