Skip to content

@relu-interactives/spatial-ecs


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

Type Alias: FaceGestureName ​

ts
type FaceGestureName = 
  | "mouthOpen"
  | "mouthClose"
  | "smile"
  | "smileEnd"
  | "blink"
  | "eyesClose"
  | "eyesOpen"
  | "winkLeft"
  | "winkRight"
  | "browsRaise"
  | "browsLower"
  | "nod"
  | "headShake"
  | "tiltLeft"
  | "tiltRight"
  | "tiltEnd";

Defined in: face/gestures.ts:82

Gestures a script can hear.

NameWhen
mouthOpen, mouthCloseThe mouth opens, or closes again
smile, smileEndA smile starts, or ends
blinkBoth eyes shut. Fires as they close, once per closure
eyesClose, eyesOpenBoth eyes shut, then open again, however long
winkLeft, winkRightOne eye shut and held. The picture's left and right
browsRaise, browsLowerThe brows go up, or come back down
nodThe head goes down and back, or up and back
headShakeThe head turns from side to side
tiltLeft, tiltRight, tiltEndThe top of the head leans to that side of the picture, or comes back