Class FlowGraphKeyboardEventBlockAbstract
Hierarchy (View Summary)
- WebXRSpatialLayerType
- FlowGraphKeyboardEventBlock
Properties
Readonlyalt Key
altKey: FlowGraphDataConnection<boolean>
Output connection: whether the Alt key (Option on macOS) was held.
Readonlycommand Or Ctrl
commandOrCtrl: FlowGraphDataConnection<boolean>
Output connection: platform-aware "command or control" modifier. True when Meta (Cmd) is held on macOS, or Ctrl is held on Windows/Linux.
Readonlyctrl Key
ctrlKey: FlowGraphDataConnection<boolean>
Output connection: whether the Ctrl key was held.
Readonlykey
key: FlowGraphDataConnection<string>
Input connection: optional key code to filter on (e.g. "KeyA", "Space", "ShiftLeft").
Uses KeyboardEvent.code values. Leave empty / disconnected to fire on any key event.
Readonlykey Code
keyCode: FlowGraphDataConnection<string>
Output connection: the KeyboardEvent.code of the key.
Readonlykey Value
keyValue: FlowGraphDataConnection<string>
Output connection: the KeyboardEvent.key string (printable character or key name).
Readonlymeta Key
metaKey: FlowGraphDataConnection<boolean>
Output connection: whether the Meta key (Windows / Cmd) was held.
Readonlyshift Key
shiftKey: FlowGraphDataConnection<boolean>
Output connection: whether the Shift key was held.
Shared base class for keyboard event blocks (KeyDown / KeyUp).
Provides a
keyinput filter, output data connections for the key code, key string, modifier states, and a platform-awarecommandOrCtrlflag. Subclasses only need to set their event type and class name.