@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 ​
| Parameter | Type |
|---|---|
options? | { side?: XrInteractorSide; } |
options.side? | XrInteractorSide |
Returns ​
XRInteractorSideComponent
Overrides ​
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
side | XrInteractorSide | Which hand this slot follows. | components/XRInteractor.ts:116 |

