EnableCameraOrtho
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) |
||
Line 10: | Line 10: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
+ | [[Category:Lua function]] | ||
+ | [[Category:Camera]] |
Revision as of 19:41, 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.