SetRenderingResolution(int, int)
Sets rendering resolution for the display.
阅读时间1 分钟最后更新于 1 个月前
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.