@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / UIInteractionSystem
Class: UIInteractionSystem ​
Defined in: systems/UIInteractionSystem.ts:55
Implements ​
Constructors ​
Constructor ​
ts
new UIInteractionSystem(interaction, options?): UIInteractionSystem;Defined in: systems/UIInteractionSystem.ts:71
Parameters ​
| Parameter | Type | Description |
|---|---|---|
interaction | XRInteractionSystem | null | The XR interaction system, or null in a world with no XR (flat 3D experiences) — the mouse path still works via options.inputSystem. |
options? | { inputSystem?: InputSystem; } | - |
options.inputSystem? | InputSystem | - |
Returns ​
UIInteractionSystem
Methods ​
update() ​
ts
update(world, deltaTime?): void;Defined in: systems/UIInteractionSystem.ts:85
Parameters ​
| Parameter | Type | Default value |
|---|---|---|
world | World | undefined |
deltaTime | number | 0 |
Returns ​
void

