---
title: spatialVideoConfigurations
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avvideocomposition/configuration/spatialvideoconfigurations
---

# spatialVideoConfigurations

Indicates the spatial configurations that are available to associate with the output of the video composition.

## Declaration

```swift
var spatialVideoConfigurations: [AVSpatialVideoConfiguration] { get set }
```

## Discussion

Discussion A custom compositor can output spatial video by specifying one of these spatial configurations. A spatial configuration with all nil values indicates the video is not spatial. A nil spatial configuration also indicates the video is not spatial. The value can be nil, which indicates the output will not be spatial. NOTE: If this property is not empty, then the client must attach one of the spatial configurations in this array to all of the pixel buffers, otherwise an exception will be thrown.

## See Also

### Inspecting the configuration

- [renderSize](avfoundation/avvideocomposition/configuration/rendersize.md)
- [renderScale](avfoundation/avvideocomposition/configuration/renderscale.md)
- [frameDuration](avfoundation/avvideocomposition/configuration/frameduration.md)
- [animationTool](avfoundation/avvideocomposition/configuration/animationtool.md)
- [colorPrimaries](avfoundation/avvideocomposition/configuration/colorprimaries.md)
- [colorTransferFunction](avfoundation/avvideocomposition/configuration/colortransferfunction.md)
- [colorYCbCrMatrix](avfoundation/avvideocomposition/configuration/colorycbcrmatrix.md)
- [customVideoCompositorClass](avfoundation/avvideocomposition/configuration/customvideocompositorclass.md)
- [outputBufferDescription](avfoundation/avvideocomposition/configuration/outputbufferdescription.md)
- [instructions](avfoundation/avvideocomposition/configuration/instructions.md)
- [perFrameHDRDisplayMetadataPolicy](avfoundation/avvideocomposition/configuration/perframehdrdisplaymetadatapolicy.md)
- [sourceSampleDataTrackIDs](avfoundation/avvideocomposition/configuration/sourcesampledatatrackids.md)
- [sourceTrackIDForFrameTiming](avfoundation/avvideocomposition/configuration/sourcetrackidforframetiming.md)
