Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / components / FaceAttachmentOptions

Type Alias: FaceAttachmentOptions ​

ts
type FaceAttachmentOptions = {
  point?: FaceAttachPointId;
  followExpression?: boolean | null;
  enabled?: boolean;
};

Defined in: components/FaceAttachment.ts:51

Optional initializer for FaceAttachmentComponent.

Properties ​

PropertyTypeDescriptionDefined in
point?FaceAttachPointIdThe place on the head. Defaults to noseBridge.components/FaceAttachment.ts:53
followExpression?boolean | nullFollow expression: true, false, or null for what suits the place. Defaults to null.components/FaceAttachment.ts:55
enabled?booleanTurn the attachment off without removing it. Defaults to true.components/FaceAttachment.ts:57