Documentation

Unity Engine

Unity Engine

renderingWidth

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

Definition

public int renderingWidth { get; }

Remarks

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