Skip to content

@relu-interactives/spatial-ecs


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

Type Alias: HandGestureEvent ​

ts
type HandGestureEvent = {
  name: HandGestureName;
  side: HandSide;
  pose: HandPoseName | null;
  hand: Hand | null;
};

Defined in: hands/tracker.ts:87

One gesture, as a script hears it.

Properties ​

PropertyTypeDescriptionDefined in
nameHandGestureName-hands/tracker.ts:88
sideHandSideThe hand's own side.hands/tracker.ts:90
poseHandPoseName | nullFor poseStart and poseEnd, which pose.hands/tracker.ts:92
handHand | nullThe hand, while it's in view. null on handLost.hands/tracker.ts:94