IsCameraOrtho
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) |
||
Line 11: | Line 11: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
+ | [[Category:Lua function]] | ||
+ | [[Category:Camera]] |
Revision as of 18:41, 4 February 2014
Check if camera is orthographic.
Camera = getCurrentCamera() if isCameraOrtho(Camera) then -- Camera is orthographic else -- Camera is perspective end
To enable or disable orthographic view use enableCameraOrtho.