Version: 2021.3

DisplayInfo

struct in UnityEngine

切换到手册

描述

Represents a connected display.

变量

heightThe display height in pixels.
nameHuman-friendly display name.
refreshRateThe current refresh rate of the display.
widthThe display width in pixels.
workAreaSpecifies the work area rectangle of the display relative to the top left corner. For example, it excludes the area covered by the macOS Dock or the Windows Taskbar.