---
title: orientation
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/photogrammetrysample/orientation
---

# orientation

The orientation at which the image pixel buffer is intended to be displayed in a 2D UI.

## Declaration

```swift
var orientation: CGImagePropertyOrientation { get }
```
