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.