Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DisplayInfo

Represents a connected display.
Read time 1 minuteLast updated 6 days ago

Definition

public struct DisplayInfo : IEquatable<DisplayInfo>

Fields

Value

Description

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.