---
title: projectionMatrix
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/arcamera/projectionmatrix
---

# projectionMatrix

A transform matrix appropriate for rendering 3D content to match the image captured by the camera.

## Declaration

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

## Discussion

Discussion Reading this property’s value is equivalent to calling the projectionMatrix(withViewportSize:orientation:zNear:zFar:) method, using the camera’s imageResolution and intrinsics properties to derive size and orientation, and passing default values of 0.001 and 1000.0 for the near and far clipping planes.

## See Also

### Applying Camera Geometry

- [projectionMatrix(for:viewportSize:zNear:zFar:)](arkit/arcamera/projectionmatrix(for:viewportsize:znear:zfar:).md)
- [viewMatrix(for:)](arkit/arcamera/viewmatrix(for:).md)
- [projectPoint(_:orientation:viewportSize:)](arkit/arcamera/projectpoint(_:orientation:viewportsize:).md)
- [unprojectPoint(_:ontoPlane:orientation:viewportSize:)](arkit/arcamera/unprojectpoint(_:ontoplane:orientation:viewportsize:).md)
