EnableCameraOrtho

From MaratisWiki
Revision as of 01:10, 9 February 2014 by Dahnielson (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

enableCameraOrtho(object, bool)

Enable or disable orthographic view.

  • object : object to operate on
  • bool : true or false to enable or disable
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