IsCameraOrtho

From MaratisWiki
Revision as of 19:46, 13 March 2013 by TaeZ (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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