---
title: "init(from:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/lowlevelrenderer/cullconfiguration/frustum-swift.struct/init(from:)"
---

# init(from:)

Creates a frustum by computing the culling planes for the given camera.

## Declaration

```swift
init(from camera: LowLevelRenderer.Camera)
```

## Parameters

- `camera`: The camera whose view volume defines the frustum.

## Discussion

Discussion Produces up to six outward-facing planes corresponding to the camera’s view volume. For perspective cameras with an infinite far plane, the far plane is omitted, yielding five planes.
