Component:DesktopDisplayLayout

From Resonite Wiki
Revision as of 06:01, 17 March 2025 by 989onan bot (talk | contribs) (Automated: update Fields)
Component image 
Desktop Display Layout component as seen in the Scene Inspector

The DesktopDisplayLayout component displays a list of display selection buttons for a user's monitor settup. Used in the dash and only works in the dash world.

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