Skip to content

@relu-interactives/spatial-ecs


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

Type Alias: FaceGestureSample ​

ts
type FaceGestureSample = {
  timeMs: number;
  blendshapes: Record<string, number>;
  head?: HeadAngles | null;
};

Defined in: face/gestures.ts:128

One frame of tracking.

Properties ​

PropertyTypeDescriptionDefined in
timeMsnumberWhen, in ms. Only differences matter.face/gestures.ts:130
blendshapesRecord<string, number>Blendshapes by name. A missing one reads 0.face/gestures.ts:132
head?HeadAngles | nullThe head's angles, when the runtime gives them.face/gestures.ts:134