Skip to content

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

ParameterType
options?XRHandPoseOptions

Returns ​

XRHandPoseComponent

Overrides ​

Component.constructor

Properties ​

PropertyTypeDefined in
enabledbooleancomponents/XRHandPose.ts:136
posesXrHandPoseEntry[]components/XRHandPose.ts:137