Skip to content

@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 ​

ParameterTypeDescription
interactionXRInteractionSystem | nullThe 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 ​

ParameterTypeDefault value
worldWorldundefined
deltaTimenumber0

Returns ​

void

Implementation of ​

EcsSystem.update