@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / components / handPoseDefinitionFor
Function: handPoseDefinitionFor() ​
ts
function handPoseDefinitionFor(entry, resolvePreset):
| XrHandPoseDefinition
| null;Defined in: components/XRHandPose.ts:101
Resolve an entry to the definition the matcher consumes.
Preset entries defer to the shared library but still honour the entry's own hand restriction and hold time, so a scene can reuse "thumbs up" while scoping it to one hand.
Parameters ​
| Parameter | Type |
|---|---|
entry | XrHandPoseEntry |
resolvePreset | (id) => | XrHandPoseDefinition | null |
Returns ​
| XrHandPoseDefinition | null

