EnableCameraOrtho

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

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