IsCameraOrtho
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) m |
||
Line 1: | Line 1: | ||
+ | {{lua-function|isCameraOrtho|object|}} | ||
+ | |||
Check if camera is orthographic. | Check if camera is orthographic. | ||
Revision as of 17:15, 8 February 2014
isCameraOrtho(object)
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.