@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / components / XRHandPoseComponent
Class: XRHandPoseComponent ​
Defined in: components/XRHandPose.ts:135
Listens for hand poses and reports them to the entity's Behaviours.
Attached to any entity that wants to react to a gesture — the poses are detected on the user's hands, not on the entity, so this is a subscription rather than a property of the object itself.
Extends ​
Constructors ​
Constructor ​
ts
new XRHandPoseComponent(options?): XRHandPoseComponent;Defined in: components/XRHandPose.ts:139
Parameters ​
| Parameter | Type |
|---|---|
options? | XRHandPoseOptions |
Returns ​
XRHandPoseComponent
Overrides ​
Properties ​
| Property | Type | Defined in |
|---|---|---|
enabled | boolean | components/XRHandPose.ts:136 |
poses | XrHandPoseEntry[] | components/XRHandPose.ts:137 |

