---
title: sensorShift
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlcamera/sensorshift
---

# sensorShift

The horizontal and vertical offsets, in millimeters, of the center of the camera image relative to the center of the simulated lens.

## Declaration

```swift
var sensorShift: vector_float2 { get set }
```

## Discussion

Discussion Shifting the camera image can be useful for various effects, such as projecting shadows or reflections or creating the left and right projections of a stereoscopic camera.

## See Also

### Modeling a Physical Imaging Surface

- [sensorVerticalAperture](modelio/mdlcamera/sensorverticalaperture.md)
- [sensorAspect](modelio/mdlcamera/sensoraspect.md)
- [sensorEnlargement](modelio/mdlcamera/sensorenlargement.md)
- [flash](modelio/mdlcamera/flash.md)
- [exposure](modelio/mdlcamera/exposure.md)
- [exposureCompression](modelio/mdlcamera/exposurecompression.md)
