Returned from Camera's type property.
type
// @input Component.Camera cameraif (script.camera.type == Camera.Type.Orthographic) { var orthoSize = script.camera.getOrthographicSize();} Copy
// @input Component.Camera cameraif (script.camera.type == Camera.Type.Orthographic) { var orthoSize = script.camera.getOrthographicSize();}
Does not simulate perspective distortion. Useful for 2D effects like Images and Text.
Simulates how perspective and depth perception work in the real world. Useful for rendering objects in 3D space.
Returned from Camera's
type
property.Example