Skip to content

@relu-interactives/spatial-ecs


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

Type Alias: FaceHeadOptions ​

ts
type FaceHeadOptions = {
  occluder?: boolean;
  showOccluder?: boolean;
  occluderInset?: number;
  occluderHair?: number;
};

Defined in: components/FaceAttachment.ts:5

Optional initializer for FaceHeadComponent.

Properties ​

PropertyTypeDescriptionDefined in
occluder?booleanHide what's behind the head. Defaults to true.components/FaceAttachment.ts:7
showOccluder?booleanDraw the occluder, to see what it's doing. Defaults to false.components/FaceAttachment.ts:9
occluderInset?numberHow far under the skin the occluder sits, in centimetres. Defaults to 0.12.components/FaceAttachment.ts:11
occluderHair?numberHow far above the skull the occluder reaches, for hair, in centimetres. Defaults to 2.components/FaceAttachment.ts:13