Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / XrHandPoseMatch

Type Alias: XrHandPoseMatch ​

ts
type XrHandPoseMatch = {
  matched: boolean;
  confidence: number;
  worstConstraint: string | null;
};

Defined in: xr/handPose.ts:537

Properties ​

PropertyTypeDescriptionDefined in
matchedbooleanEvery constraint inside its tolerance.xr/handPose.ts:539
confidencenumber0..1. Degrades smoothly outside tolerance, for live editor feedback.xr/handPose.ts:541
worstConstraintstring | nullThe constraint furthest out of range — what to show the user when it fails.xr/handPose.ts:543