Component:DesktopDisplayLayout

From Resonite Wiki
Component image 
DesktopDisplayLayout component as seen in the Scene Inspector


The DesktopDisplayLayout component displays a list of display selection buttons for a user's monitor settup. It is used in the dash menu and only works in userspace.

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. Some components stop their functionality when this field is disabled, but some don't.
User direct UserRef The user to get displays for.
DisplayTemplate Slot the template to use when generating display selection buttons.
ItemGenerated delegate of identity DesktopDisplayLayout.DisplayItemHandler usually the OnDisplayItemGenerated() sync delegate from DesktopControlDialog.

DisplayItemHandler

A Sync delegate of type Delegate<Display display, Slot itemRoot>

Examples

Used in the dash desktop tab.

See Also