---
title: leftViewMatrix
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlstereoscopiccamera/leftviewmatrix
---

# leftViewMatrix

The transformation matrix that determines the position and orientation of the camera’s left viewpoint relative to a scene.

## Declaration

```swift
var leftViewMatrix: matrix_float4x4 { get }
```

## Discussion

Discussion Model I/O  automatically generates this matrix from the camera’s position and orientation, additionally using the interPupillaryDistance and leftVergence properties to account for the offset and angle of a stereoscopic camera’s left viewpoint. A renderer uses this matrix, along with the leftProjectionMatrix property and model matrices derived from the camera’s position and orientation (the transform property) and the content to be rendered, to transform vertex data to the renderer’s 2D screen space at render time.

## See Also

### Generating View and Projection Matrices

- [leftProjectionMatrix](modelio/mdlstereoscopiccamera/leftprojectionmatrix.md)
- [rightViewMatrix](modelio/mdlstereoscopiccamera/rightviewmatrix.md)
- [rightProjectionMatrix](modelio/mdlstereoscopiccamera/rightprojectionmatrix.md)
