IsCameraOrtho

From MaratisWiki
Jump to: navigation, search

isCameraOrtho(object)

Check if camera is orthographic.

  • object : object to operate on
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