Contents

fieldOfViewInDegrees

The camera’s total field of view in degrees.

Declaration

var fieldOfViewInDegrees: Float

Discussion

This property contains the entire field of view for the camera in degrees.

When you set fieldOfViewOrientation to CameraFieldOfViewOrientation.vertical, this value sets the vertical field of view for the camera in degrees, and the system automatically calculates the horizontal field of view to fit the aspect ratio of the device’s screen.

This property defaults to 60 degrees.

See Also

Setting the field of view