supportsSwapChainPreTransform
Returns true if the platform supports swapchain pre-transform (Vulkan on Android).
Read time 1 minuteLast updated 16 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static bool supportsSwapChainPreTransform { get; }
Remarks
When pre-transform is supported and Apply display rotation during rendering is enabled in Player Settings, Unity rotates rendering to the display's native orientation during rendering instead of relying on the OS compositor to rotate the final image.
To find out which rotation Unity applies in the current frame, use Screen.currentSwapChainPreTransform. For more information, refer to Framebuffer orientation.