@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 ​
| Property | Type | Description | Defined in |
|---|---|---|---|
occluder? | boolean | Hide what's behind the head. Defaults to true. | components/FaceAttachment.ts:7 |
showOccluder? | boolean | Draw the occluder, to see what it's doing. Defaults to false. | components/FaceAttachment.ts:9 |
occluderInset? | number | How far under the skin the occluder sits, in centimetres. Defaults to 0.12. | components/FaceAttachment.ts:11 |
occluderHair? | number | How far above the skull the occluder reaches, for hair, in centimetres. Defaults to 2. | components/FaceAttachment.ts:13 |

