Component:ContextMenuSubmenu: Difference between revisions

From Resonite Wiki
Zandario (talk | contribs)
Removed old Vids & Issues
 
m ProbablePrime moved page ContextMenuSubmenu (Component) to Component:ContextMenuSubmenu: Creating component Namespace
(No difference)

Revision as of 06:28, 20 January 2024


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


Component image 
Context Menu Submenu component as seen in the Scene Inspector


The ContextMenuSubmenu component can be used in combination with any button component to make said button open a custom context menu when clicked. This is commonly done on avatars, using a RootContextMenuItem as the button, but can also be used on anything else.

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.
ItemsRoot Slot All ContextMenuItemSources on slots under this one will be included in the submenu.
SearchWholeHierarchy Bool This article or section is a Stub. You can help the Resonite Wiki by expanding it.
DisableFlick Bool This article or section is a Stub. You can help the Resonite Wiki by expanding it.
SpeedOverride Float?
CounterClockwise Bool Whether the items should be arranged clockwise or counter-clockwise in the submenu.
KeepPosition Bool When set, the context menu will stay in the same place as the submenu opens. Otherwise, the context menu will recenter on the user's laser.
Hidden Bool If set, the submenu is only visible to the user that opened it, (The button to open it)

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.