Instance Property

usesOrthographicProjection

A Boolean value that determines whether the camera uses an orthographic projection.

Declaration

@property(nonatomic) BOOL usesOrthographicProjection;

Discussion

The default value of this property is NO, 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 YES 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 orthographicScale property.

See Also

Managing the Projection Transform

projectionTransform

The camera’s projection transformation.

orthographicScale

Specifies the camera’s magnification factor when using an orthographic projection.