Component:DisplayInfo

From Resonite Wiki
Revision as of 18:31, 22 December 2024 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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.
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.

Usage

Examples

See Also