IsCameraOrtho
(Difference between revisions)
TaeZ (Talk | contribs)
(Created page with "Check if camera is orthographic. Camera = getCurrentCamera() if isCameraOrtho(Camera) then -- Camera is orthographic else -- Camera is perspective end To enabl...")
Newer edit →
(Created page with "Check if camera is orthographic. Camera = getCurrentCamera() if isCameraOrtho(Camera) then -- Camera is orthographic else -- Camera is perspective end To enabl...")
Newer edit →
Revision as of 19:46, 13 March 2013
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.