SetRenderingResolution(int, int)
Sets rendering resolution for the display.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public void SetRenderingResolution(int w, int h)
Parameters
Remarks
This method is only supported on Android and iOS platforms. On Windows platforms, you can use Display.Activate or Display.SetParams instead.
You can set the rendering resolution as different to the native display resolution. Refer to Display.systemWidth and Display.systemHeight.