IsCameraOrtho

(Difference between revisions)
Jump to: navigation, search
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 →

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.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox