Skip to content

@relu-interactives/spatial-ecs


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

Type Alias: FaceAttachPoint ​

ts
type FaceAttachPoint = {
  id: FaceAttachPointId;
  label: string;
  hint: string;
  position: readonly [number, number, number];
  landmarks: readonly number[];
  live: boolean;
};

Defined in: face/attachPoints.ts:46

One place on the head.

Properties ​

PropertyTypeDescriptionDefined in
idFaceAttachPointId-face/attachPoints.ts:47
labelstringName for people.face/attachPoints.ts:49
hintstringWhat it's for, for the inspector.face/attachPoints.ts:51
positionreadonly [number, number, number]Where it is on the average head, in centimetres on the head's axes.face/attachPoints.ts:53
landmarksreadonly number[]The face landmarks it sits on (their middle, when several). Empty for places the camera can't see, like the back of the head, which come from the head's fitted shape.face/attachPoints.ts:59
livebooleanWhether it moves with expression by default. The mouth and chin do. The rest hold still on the head, which is steadier: glasses shouldn't twitch when someone smiles.face/attachPoints.ts:65