IsCameraOrtho

From MaratisWiki
Revision as of 18:11, 4 February 2014 by Dahnielson (Talk | contribs)
Jump to: navigation, search

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.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox