One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVSpatialVideoConfiguration

struct · iOS 26.0+ · SDK 27.1

struct AVSpatialVideoConfiguration

Members (11)

get · iOS 26.0+

nonSpatial

TypeScript
static get nonSpatial(): AVSpatialVideoConfiguration
Swift declaration
static var nonSpatial: AVSpatialVideoConfiguration { get }

A non-spatial video configuration.

init · iOS 26.0+

init

TypeScript
static initFormatDescription(formatDescription: _CoreMedia_CMFormatDescription): AVSpatialVideoConfiguration
Swift declaration
init(formatDescription: CMFormatDescription)

Initializes an AVSpatialVideoConfiguration with a format description. The format description is not stored. - Parameter formatDescription: Format description to use to initialize the AVSpatialVideoConfiguration. - Returns: An instance of AVSpatialVideoConfiguration

get · iOS 26.0+

disparityAdjustment

TypeScript
get disparityAdjustment(): (number) | null
Swift declaration
var disparityAdjustment: Int32?

Specifies a relative shift of the left and right images, which changes the zero parallax plane. The value is in normalized image space and measured over the range of -10000 to 10000 mapping to the uniform range [-1.0...1.0]. The interval of 0.0 to 1.0 or 0 to 10000 maps onto the stereo eye view image width. The negative interval 0.0 to -1.0 or 0 to -10000 similarly map onto the stereo eye view image width. Can be nil if the value is unknown.

set · iOS 26.0+

disparityAdjustment

TypeScript
set disparityAdjustment(value: (number) | null)
Swift declaration
var disparityAdjustment: Int32?

Specifies a relative shift of the left and right images, which changes the zero parallax plane. The value is in normalized image space and measured over the range of -10000 to 10000 mapping to the uniform range [-1.0...1.0]. The interval of 0.0 to 1.0 or 0 to 10000 maps onto the stereo eye view image width. The negative interval 0.0 to -1.0 or 0 to -10000 similarly map onto the stereo eye view image width. Can be nil if the value is unknown.

get · iOS 26.0+

cameraSystemBaseline

TypeScript
get cameraSystemBaseline(): (number) | null
Swift declaration
var cameraSystemBaseline: UInt32?

Specifies the distance between centers of the lenses of the camera system that created the video. The distance is in micrometers or thousandths of a millimeter. Can be nil if the value is unknown.

set · iOS 26.0+

cameraSystemBaseline

TypeScript
set cameraSystemBaseline(value: (number) | null)
Swift declaration
var cameraSystemBaseline: UInt32?

Specifies the distance between centers of the lenses of the camera system that created the video. The distance is in micrometers or thousandths of a millimeter. Can be nil if the value is unknown.

get · iOS 26.0+

horizontalFieldOfView

TypeScript
get horizontalFieldOfView(): (number) | null
Swift declaration
var horizontalFieldOfView: UInt32?

Specifies horizontal field of view in thousandths of a degree. Can be nil if the value is unknown.

set · iOS 26.0+

horizontalFieldOfView

TypeScript
set horizontalFieldOfView(value: (number) | null)
Swift declaration
var horizontalFieldOfView: UInt32?

Specifies horizontal field of view in thousandths of a degree. Can be nil if the value is unknown.

get · iOS 26.0+

cameraCalibrationDataLensCollection

TypeScript
get cameraCalibrationDataLensCollection(): (_CoreMedia_CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection) | null
Swift declaration
var cameraCalibrationDataLensCollection: CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection?

Specifies intrinsic and extrinsic parameters for single or multiple lenses. The property value is an array of dictionaries describing the camera calibration data for each lens. The camera calibration data includes intrinsics and extrinics with other parameters. This property is only applicable when the projection kind is kCMTagProjectionTypeParametricImmersive. Can be nil if the value is unknown.

set · iOS 26.0+

cameraCalibrationDataLensCollection

TypeScript
set cameraCalibrationDataLensCollection(value: (_CoreMedia_CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection) | null)
Swift declaration
var cameraCalibrationDataLensCollection: CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection?

Specifies intrinsic and extrinsic parameters for single or multiple lenses. The property value is an array of dictionaries describing the camera calibration data for each lens. The camera calibration data includes intrinsics and extrinics with other parameters. This property is only applicable when the projection kind is kCMTagProjectionTypeParametricImmersive. Can be nil if the value is unknown.

init · iOS 26.0+

init

TypeScript
static init(): AVSpatialVideoConfiguration
Swift declaration
init()

Initializes an AVSpatialVideoConfiguration instance with all the properties set to nil.

Skipped declarations

No declarations were skipped in this snapshot.

All AVFoundation types →