Shader Menu Show
The Shader Menu Show Action displays a shader-based menu to the player. This menu rendering uses core shaders to overlay UI elements on the screen, independent of FOV/GUI scaling.
Configuration
disableBetterHud — Boolean
Whether to hide other default BetterHud elements (like HUDs) while this menu is open.
interactionMode — Enum
How the player interacts with buttons:
GAZE: Looking at the button triggers hover/click.CLICK: Mouse click required.BOTH: Supports both gaze and click.
buttons
"> List of buttons to display in this menu.
Button Configuration
id — String
Unique ID for the button.
text — String
Text displayed on the button.
x — Number
X position (0-100 screen percentage).
y — Number
Y position (0-100 screen percentage).
width — Number
Button width (screen percentage).
height — Number
Button height (screen percentage).
action
"> Action to trigger when the button is clicked/selected.
action:
type: menu_show
interactionMode: GAZE
buttons:
- id: "btn_start"
text: "Start Game"
x: 50.0
y: 40.0
width: 20.0
height: 8.0
action: "start_game_sequence"