Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


renderingWidth

Horizontal resolution that the display is rendering at in the viewport.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int renderingWidth { get; }

Remarks

Rendering resolution can be different from a platform's original display resolution (see Display.systemWidth).