---
title: "init(projectionMatrix:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/projectivetransformcameracomponent/init(projectionmatrix:)"
---

# init(projectionMatrix:)

Creates a new custom matrix camera component with the given settings.

## Declaration

```swift
init(projectionMatrix: float4x4)
```

## Parameters

- `projectionMatrix`: The custom projection matrix the user wants to use.

## Discussion

Discussion The matrix uses reverse depth.
