# disableSwapChainPreTransform

> When true, forces an identity swapchain even when pre-transform is enabled in Player Settings.

## Definition

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

```csharp
public static bool disableSwapChainPreTransform { get; set; }
```

### Remarks

Swapchain pre-transform (**Apply display rotation during rendering** in Player Settings, Vulkan on Android) rotates rendering to the display's native orientation during rendering. Set this property to disable pre-transform at runtime when it is incompatible with the active rendering path; the swapchain is recreated on the next display update.

This property is a no-op where [SystemInfo.supportsSwapChainPreTransform](/engine/6000.7/script-reference/unityengine/systeminfo/supportsswapchainpretransform.md) is false.

Additional Resources: [SystemInfo.supportsSwapChainPreTransform](/engine/6000.7/script-reference/unityengine/systeminfo/supportsswapchainpretransform.md), [PlayerSettings.vulkanEnablePreTransform](/engine/6000.7/script-reference/unityeditor/playersettings/vulkanenablepretransform.md).
