Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / components / XRInteractorSideComponent

Class: XRInteractorSideComponent ​

Defined in: components/XRInteractor.ts:114

Marks an entity as the left or right hand slot of an XRInteractorComponent.

Its transform is driven every frame from the tracked hand, so authored children ride along. Authors never set this by hand — the interactor factory creates both slots.

Extends ​

Constructors ​

Constructor ​

ts
new XRInteractorSideComponent(options?): XRInteractorSideComponent;

Defined in: components/XRInteractor.ts:118

Parameters ​

ParameterType
options?{ side?: XrInteractorSide; }
options.side?XrInteractorSide

Returns ​

XRInteractorSideComponent

Overrides ​

Component.constructor

Properties ​

PropertyTypeDescriptionDefined in
sideXrInteractorSideWhich hand this slot follows.components/XRInteractor.ts:116