Instance Property

videoFormat

The video capture size and frame rate to be used for sessions running this configuration.

Declaration

var videoFormat: ARConfiguration.VideoFormat { get set }

Discussion

The ARConfiguration.VideoFormat class is immutable; to set the frame rate and video resolution for an AR session, choose one of the video formats in the supportedVideoFormats array.

See Also

Managing Video Capture Options

class var supportedVideoFormats: [ARConfiguration.VideoFormat]

The set of video capture formats available on the current device.

class ARConfiguration.VideoFormat

A video size and frame rate specification for use with an AR session.