Configuration fields
- Last UpdatedSep 24, 2026
- 1 minute read
The configuration fields in the ContextualMenu module.
|
Name |
Type |
Default value |
Description |
|---|---|---|---|
|
floatButton_anchorH |
sstring |
Horizontal anchor point for the floating button (left/right alignment). |
|
|
floatButton_anchorV |
sstring |
Vertical anchor point for the floating button (top/bottom alignment). |
|
|
floatButton_enabled |
sbool |
Enables and disables floating button interaction capability. |
|
|
floatButton_visible |
sbool |
false |
Controls visibility of the floating button that triggers the menu. |
|
floatButton_position |
svec2 |
Screen position (x, y) of the floating button in pixels. |
|
|
floatButton_size |
svec2 |
Size (width, height) of the floating button in pixels. |
|
|
floatButton_font |
sstring |
Font specification for the floating button icon/text. |
|
|
floatButton_icon |
sstring |
Icon character or text displayed on the floating button. |
|
|
floatButton_order |
sint |
15 |
rendering priority for the floating button. |
|
definition |
sjson |
Empty Json definition |
JSON definition containing layouts, sections, buttons, and submenus. |
|
palette |
sstring |
Name of the color palette to apply to the menu. |
|
|
layout |
sstring |
DefaultLayout |
Name of the layout to display when menu is shown. |
|
verbose |
sbool |
false |
Enables verbose logging for debugging. |
|
menuOrder |
sint |
4 |
Rendering priority for the menu UI (minimum value: 4). |