# UIOrientation

> Default mobile device orientation.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public enum UIOrientation
```

## Fields

| Value                                                                                                 | Description                                  |
| ----------------------------------------------------------------------------------------------------- | -------------------------------------------- |
| [AutoRotation](/engine/6000.0/script-reference/unityeditor/uiorientation/autorotation.md)             | Auto Rotation Enabled.                       |
| [LandscapeLeft](/engine/6000.0/script-reference/unityeditor/uiorientation/landscapeleft.md)           | Landscape : counter-clockwise from Portrait. |
| [LandscapeRight](/engine/6000.0/script-reference/unityeditor/uiorientation/landscaperight.md)         | Landscape: clockwise from Portrait.          |
| [Portrait](/engine/6000.0/script-reference/unityeditor/uiorientation/portrait.md)                     | Portrait.                                    |
| [PortraitUpsideDown](/engine/6000.0/script-reference/unityeditor/uiorientation/portraitupsidedown.md) | Portrait upside down.                        |
