Component:RootContextMenuItem

From Resonite Wiki
Revision as of 00:22, 25 October 2024 by 989onan (talk | contribs) (add last info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Root Context Menu Item component as seen in the Scene Inspector

Root context menu item is a component that makes a new context menu item appear for the active user for when they open their context menu.

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.
OnlyForSide Nullable`1<Chirality> When set, the item will only be inserted when the context menu is opened on the specified hand.
ExcludeOnTools Bool Determines whether or not the item shows up when opening the context menu while having a tool equipped on the same hand.
ExcludePrimaryHand Bool Makes the item not show up when the context menu is open on the user's primary hand.
ExcludeSecondaryHand Bool Makes the item not show up when the context menu is open on the user's secondary hand.
Item ContextMenuItemSource The ContextMenuItemSource that will be inserted into the context menu.

Usage

Examples

Related Issues

Related Components

ContextMenuItemSource