Version: 2022.2

Display.renderingWidth

切换到手册
public int renderingWidth ;

描述

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).

另请参阅:renderingHeightSetRenderingResolution