# UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION

> Unity enables UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION when Vulkan pre-transform is enabled and supported on the target build platform.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Rendering](/engine/6000.7/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION = 29
```

### Remarks

Additional Resources: [PlayerSettings.vulkanEnablePreTransform](/engine/6000.7/script-reference/unityeditor/playersettings/vulkanenablepretransform.md), [Vulkan swapchain pre-rotation](/engine/6000.7/manual/platform-specific/android/developing/graphics/vulkan-swapchain-pre-rotation.md)
