A Boolean value that determines whether the camera uses an orthographic projection.
SDKs
- iOS 8.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Framework
- Scene
Kit
Declaration
var usesOrthographicProjection: Bool { get set }
Discussion
The default value of this property is false
, specifying a perspective projection. In a perspective projection, equally sized objects nearer to the camera appear larger than those farther away.
Set the value of this property to true
to specify an orthographic projection. In an orthographic projection, equally sized objects appear equally sized regardless of distance from the camera.
To control the magnification factor of an orthographic camera, use its orthographic
property.