Enumeration

SCNCameraProjectionDirection

Options for the axis used to determine field of view or orthographic projection.

Declaration

enum SCNCameraProjectionDirection : Int

Topics

Projection Directions

case vertical

The camera's field of view or orthographic scale are measured vertically.

case horizontal

The camera's field of view or orthographic scale are measured horizontally.

See Also

Managing Field of View

var fieldOfView: CGFloat

The vertical or horizontal viewing angle of the camera.

var focalLength: CGFloat

The camera's focal length, in millimeters.

var sensorHeight: CGFloat

The vertical size of the camera's imaging plane, in millimeters.

var projectionDirection: SCNCameraProjectionDirection

The axis used to determine field of view or orthographic scale.