ContextMenuSubmenu (Component)
Jump to navigation
Jump to search
This article or section is a Stub. You can help the Neos Wiki by expanding it.
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 | |
DisableFlick
|
Bool | |
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
Examples
Neos VR Tutorial: Context Menus Pt.1 - Introduction & Context Menu Components by ProbablePrime
Neos VR Tutorial: Context Menus Pt.2 - Component based Actions by ProbablePrime
Related Issues
#1576 - Automatic context menu injection
#2556 - ContextMenuSubmenu can traverse into user root but not start in a user root