<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LowLevelRenderer/Camera",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer08LowLevelC0C6CameraV"
  },
  "title" : "LowLevelRenderer.Camera"
}
-->

# LowLevelRenderer.Camera

The view and projection parameters for a single camera.

```
struct Camera
```

## Topics

### Creating a camera

[`init(position: SIMD3<Float>, rotation: simd_quatf, projection: LowLevelRenderer.Camera.Projection, viewportArrayIndex: Int, renderTargetArrayIndex: Int)`](/documentation/RealityKit/LowLevelRenderer/Camera/init(position:rotation:projection:viewportArrayIndex:renderTargetArrayIndex:))

Creates a camera with the given position, rotation, projection, and viewport/render-target indices.

### Configuring the projection

[`var projection: LowLevelRenderer.Camera.Projection`](/documentation/RealityKit/LowLevelRenderer/Camera/projection-swift.property)

The projection transform for this camera.

[`struct Projection`](/documentation/RealityKit/LowLevelRenderer/Camera/Projection-swift.struct)

A projection transform that maps from view space to clip space.

### Specifying render targets

[`var renderTargetArrayIndex: Int`](/documentation/RealityKit/LowLevelRenderer/Camera/renderTargetArrayIndex)

The index into the render target texture array slice for this camera.

[`var viewportArrayIndex: Int`](/documentation/RealityKit/LowLevelRenderer/Camera/viewportArrayIndex)

The index into the output viewports and scissor rects arrays for this camera.

### Computing culling planes

[`func computeCullingPlanes() -> [LowLevelRenderer.CullConfiguration.Plane]`](/documentation/RealityKit/LowLevelRenderer/Camera/computeCullingPlanes())

Computes and returns the culling planes for this camera’s view volume.

[`func computeCullingPlanes(inout OutputSpan<LowLevelRenderer.CullConfiguration.Plane>)`](/documentation/RealityKit/LowLevelRenderer/Camera/computeCullingPlanes(_:))

Computes the culling planes for this camera’s view volume, writing them to an output span.

### Instance Properties

[`var position: SIMD3<Float>`](/documentation/RealityKit/LowLevelRenderer/Camera/position)

The position of the camera in world space.

[`var rotation: simd_quatf`](/documentation/RealityKit/LowLevelRenderer/Camera/rotation)

The orientation of the camera, expressed as a unit quaternion.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)