@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 ​
| Property | Type | Description | Defined in |
|---|---|---|---|
id | FaceAttachPointId | - | face/attachPoints.ts:47 |
label | string | Name for people. | face/attachPoints.ts:49 |
hint | string | What it's for, for the inspector. | face/attachPoints.ts:51 |
position | readonly [number, number, number] | Where it is on the average head, in centimetres on the head's axes. | face/attachPoints.ts:53 |
landmarks | readonly 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 |
live | boolean | Whether 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 |

