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

# orthographic(height:aspectRatio:nearZ:farZ:reverseZ:)

Creates a symmetric orthographic projection.

## Declaration

```swift
static func orthographic(height: Float, aspectRatio: Float, nearZ: Float, farZ: Float, reverseZ: Bool = true) -> LowLevelRenderer.Camera.Projection
```

## Parameters

- `height`: The height of the orthographic view volume.
- `aspectRatio`: The ratio of the viewport width to its height.
- `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 A symmetric orthographic LowLevelRenderer.Camera.Projection.

## See Also

### Creating orthographic projections

- [orthographic(left:right:bottom:top:nearZ:farZ:reverseZ:)](realitykit/lowlevelrenderer/camera/projection-swift.struct/orthographic(left:right:bottom:top:nearz:farz:reversez:).md)
