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

# spatialVideoConfigurations

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

## Declaration

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

## 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 video composition

- [renderSize](avfoundation/avvideocomposition/rendersize.md)
- [renderScale](avfoundation/avvideocomposition/renderscale.md)
- [frameDuration](avfoundation/avvideocomposition/frameduration.md)
- [animationTool](avfoundation/avvideocomposition/animationtool.md)
- [colorPrimaries](avfoundation/avvideocomposition/colorprimaries.md)
- [colorTransferFunction](avfoundation/avvideocomposition/colortransferfunction.md)
- [colorYCbCrMatrix](avfoundation/avvideocomposition/colorycbcrmatrix.md)
- [customVideoCompositorClass](avfoundation/avvideocomposition/customvideocompositorclass.md)
- [outputBufferDescription](avfoundation/avvideocomposition/outputbufferdescription-3ayt8.md)
- [AVSpatialVideoConfiguration](avfoundation/avspatialvideoconfiguration-swift.struct.md)
