IsCameraOrtho
From MaratisWiki
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.