<!--
{
  "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/Projection-swift.struct/orthographic(left:right:bottom:top:nearZ:farZ:reverseZ:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer08LowLevelC0C6CameraV10ProjectionV12orthographic4left5right6bottom3top5nearZ4farZ8reverseZAGSf_S5fSbtFZ"
  },
  "title" : "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.

```
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

An off-axis orthographic [`LowLevelRenderer.Camera.Projection`](/documentation/RealityKit/LowLevelRenderer/Camera/Projection-swift.struct).

---

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)