---
title: matrix
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/lowlevelrenderer/camera/projection-swift.struct/matrix
---

# matrix

The column-major 4×4 matrix that transforms from view space to clip space.

## Declaration

```swift
var matrix: simd_float4x4 { get }
```
