---
title: "orthographic(left:right:bottom:top:nearZ:farZ:reverseZ:)"
framework: realitykit
role: symbol
role_heading: Type Method
path: "realitykit/lowlevelrenderer/camera/projection-swift.struct/orthographic(left:right:bottom:top:nearz:farz:reversez:)"
---

# orthographic(left:right:bottom:top:nearZ:farZ:reverseZ:)

Creates an off-axis orthographic projection from explicit frustum planes.

## Declaration

```swift
static func orthographic(left: Float, right: Float, bottom: Float, top: Float, nearZ: Float, farZ: Float, reverseZ: Bool = true) -> LowLevelRenderer.Camera.Projection
```

## Parameters

- `left`: The left plane of the orthographic view volume.
- `right`: The right plane of the orthographic view volume.
- `bottom`: The bottom plane of the orthographic view volume.
- `top`: The top plane of the orthographic view volume.
- `nearZ`: The distance to the near clipping plane.
- `farZ`: The distance to the far clipping plane.
- `reverseZ`: If true, the depth range is reversed (1 at near, 0 at far). Defaults to true.

## Return Value

Return Value An off-axis orthographic LowLevelRenderer.Camera.Projection.

## See Also

### Creating orthographic projections

- [orthographic(height:aspectRatio:nearZ:farZ:reverseZ:)](realitykit/lowlevelrenderer/camera/projection-swift.struct/orthographic(height:aspectratio:nearz:farz:reversez:).md)
