EnableCameraOrtho

(Difference between revisions)
Jump to: navigation, search
(Created page with "Enable or disable orthographic view. Camera = getCurrentCamera() -- Use orthographic view enableCameraOrtho(Camera, true) -- Use perspective view enableCameraOrtho(Camer...")
 
Line 6: Line 6:
 
  -- Use perspective view
 
  -- Use perspective view
 
  enableCameraOrtho(Camera, false)
 
  enableCameraOrtho(Camera, false)
 +
 +
To check if camera is orthographic use [[isCameraOrtho]].

Revision as of 20:46, 13 March 2013

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