Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Display.renderingWidth

public int renderingWidth;

Description

Horizontal resolution that the display is rendering at in the viewport.

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

Additional resources: renderingHeight, SetRenderingResolution.