文档

Unity Engine

Unity Engine

GetRenderingResolution(out uint, out uint)

Retrieves the current rendering resolution of the selected PlayModeView.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

GetRenderingResolution(uint, uint)

public static void GetRenderingResolution(out uint width, out uint height)

Parameters

width

The width of the rendering resolution.

height

The height of the rendering resolution.