Skip to content

@relu-interactives/spatial-ecs


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

Type Alias: FaceGestureState ​

ts
type FaceGestureState = {
  mouthOpen: boolean;
  smiling: boolean;
  eyeLeftClosed: boolean;
  eyeRightClosed: boolean;
  eyesClosed: boolean;
  winking: "left" | "right" | null;
  browsRaised: boolean;
  headTilt: "left" | "right" | null;
};

Defined in: face/gestures.ts:110

What's true of the face right now.

Properties ​

PropertyTypeDescriptionDefined in
mouthOpenboolean-face/gestures.ts:111
smilingboolean-face/gestures.ts:112
eyeLeftClosedboolean-face/gestures.ts:113
eyeRightClosedboolean-face/gestures.ts:114
eyesClosedbooleanBoth eyes shut together.face/gestures.ts:116
winking"left" | "right" | nullWhich eye is winking, by the picture's side.face/gestures.ts:118
browsRaisedboolean-face/gestures.ts:119
headTilt"left" | "right" | nullWhich side of the picture the top of the head leans to.face/gestures.ts:121