Component:RootContextMenuItem: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page RootContextMenuItem (Component) to Component:RootContextMenuItem: Creating component Namespace
Automated: update Fields, Categories
 
Line 9: Line 9:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|OnlyForSide|Nullable`1|TypeString0=Nullable<Chirality>| When set, the item will only be inserted when the context menu is opened on the specified hand.
|OnlyForSide|'''[[Type:Nullable`1|Nullable`1]]&lt;[[Type:Chirality|Chirality]]&gt;'''|TypeAdv0=true| 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.
|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.
|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.
|ExcludeSecondaryHand|Bool| Makes the item not show up when the context menu is open on the user's secondary hand.
|Item|ContextMenuItemSource| The [[ContextMenuItemSource (Component)|ContextMenuItemSource]] that will be inserted into the context menu.
|Item|'''[[Component:ContextMenuItemSource|ContextMenuItemSource]]'''|TypeAdv4=true| The [[ContextMenuItemSource (Component)|ContextMenuItemSource]] that will be inserted into the context menu.
}}
}}


Line 33: Line 33:


[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
[[Category:Components|Root Context Menu Item]]
[[Category:Components:Radiant UI:Context Menu{{#translation:}}|Root Context Menu Item]]
[[Category:Components:Radiant UI:Context Menu|Root Context Menu Item]]
[[Category:Components{{#translation:}}|Root Context Menu Item]]

Latest revision as of 21:00, 3 March 2024


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


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

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


Examples

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


Related Issues

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


Related Components

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