EnableCameraOrtho
(Difference between revisions)
(Created page with "Enable or disable orthographic view. Camera = getCurrentCamera() -- Use orthographic view enableCameraOrtho(Camera, true) -- Use perspective view enableCameraOrtho(Camer...") |
|||
Line 6: | Line 6: | ||
-- Use perspective view | -- Use perspective view | ||
enableCameraOrtho(Camera, false) | enableCameraOrtho(Camera, false) | ||
+ | |||
+ | To check if camera is orthographic use [[isCameraOrtho]]. |
Revision as of 19:46, 13 March 2013
Enable or disable orthographic view.
Camera = getCurrentCamera() -- Use orthographic view enableCameraOrtho(Camera, true) -- Use perspective view enableCameraOrtho(Camera, false)
To check if camera is orthographic use isCameraOrtho.