EnableCameraOrtho

From MaratisWiki
Revision as of 01:09, 9 February 2014 by Dahnielson (Talk | contribs)
Jump to: navigation, search

enableCameraOrtho(object, bool)

Enable or disable orthographic view.

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