---
title: disparityAdjustment
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avspatialvideoconfiguration-swift.struct/disparityadjustment
---

# disparityAdjustment

Specifies a relative shift of the left and right images, which changes the zero parallax plane.

## Declaration

```swift
var disparityAdjustment: Int32?
```

## Discussion

Discussion 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.

## See Also

### Modifying the configuration

- [cameraCalibrationDataLensCollection](avfoundation/avspatialvideoconfiguration-swift.struct/cameracalibrationdatalenscollection.md)
- [cameraSystemBaseline](avfoundation/avspatialvideoconfiguration-swift.struct/camerasystembaseline.md)
- [horizontalFieldOfView](avfoundation/avspatialvideoconfiguration-swift.struct/horizontalfieldofview.md)
