Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetRenderingResolution(out uint, out uint)

Retrieves the current rendering resolution of the selected PlayModeView.
Read time 1 minuteLast updated 6 days ago

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.