# DisplayInfo

> Represents a connected display.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule
* **Implements:** [IEquatable\<DisplayInfo>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct DisplayInfo : IEquatable<DisplayInfo>
```

## Fields

| Value                                                                                 | Description                                                                                                                                                           |
| ------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [height](/engine/6000.5/script-reference/unityengine/displayinfo/height.md)           | The display height in pixels.                                                                                                                                         |
| [name](/engine/6000.5/script-reference/unityengine/displayinfo/name.md)               | Human-friendly display name.                                                                                                                                          |
| [physicalDpi](/engine/6000.5/script-reference/unityengine/displayinfo/physicaldpi.md) | The current pixel density of the display measured in dots-per-inch (DPI).                                                                                             |
| [refreshRate](/engine/6000.5/script-reference/unityengine/displayinfo/refreshrate.md) | The current refresh rate of the display.                                                                                                                              |
| [width](/engine/6000.5/script-reference/unityengine/displayinfo/width.md)             | The display width in pixels.                                                                                                                                          |
| [workArea](/engine/6000.5/script-reference/unityengine/displayinfo/workarea.md)       | 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. |

## Properties

| Property                                                                              | Description                                                               |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| [resolutions](/engine/6000.5/script-reference/unityengine/displayinfo/resolutions.md) | Returns all full-screen resolutions supported on the display (Read Only). |

## Static Methods

| Method                                                                            | Description                                                                                                                                                            |
| --------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [GetLayout](/engine/6000.5/script-reference/unityengine/displayinfo/getlayout.md) | Retrieves information about the connected displays and populates a list with properties such as display name, resolution, refresh rate, and other relevant attributes. |
