Component:DisplayInfo
From Resonite Wiki
More actions
Component image 
Display Info component as seen in the Scene Inspector

The DisplayInfo component is used to get information about the local user's display.
Fields
| Name | Type | Description |
|---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
DisplayIndex
|
Int | The display index to get info on. |
Resolution
|
raw output of Int2 | The resolution of display DisplayIndex
|
Offset
|
raw output of Int2 | The offset of pixels of display DisplayIndex
|
DPI
|
raw output of Float2 | The Dots Per Inch of display DisplayIndex
|
RefreshRate
|
raw output of Double | The refresh rate in Hertz of DisplayIndex
|
Orientation
|
raw output of RectOrientation | The orientation of DisplayIndex.
|
IsPrimary
|
raw output of Bool | Whether display DisplayIndex is the main monitor in the OS.
|