EnableCameraOrtho
(Difference between revisions)
Dahnielson (Talk | contribs) |
|||
Line 8: | Line 8: | ||
To check if camera is orthographic use [[isCameraOrtho]]. | To check if camera is orthographic use [[isCameraOrtho]]. | ||
+ | |||
+ | [[Category:Lua scripting]] |
Revision as of 18:12, 4 February 2014
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.