DisplayInfo
Represents a connected display.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
- Implements: IEquatable<DisplayInfo>
public struct DisplayInfo : IEquatable<DisplayInfo>
Fields
Value | Description |
|---|---|
| height | The display height in pixels. |
| name | Human-friendly display name. |
| refreshRate | The current refresh rate of the display. |
| width | The display width in pixels. |
| workArea | Specifies 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. |