Interface: StylizedFaceOptions
Defined in: src/StylizedFace.ts:26
Properties
headRadius?
optionalheadRadius:number
Defined in: src/StylizedFace.ts:34
Approximate radius (metres) of the host head this face attaches to.
Used to scale the face quad and place it just outside the head
sphere. Defaults to 0.1, matching netblocks RemoteUserAvatar's
head sphere; pass 0.18 (for example) if attaching to a bigger
custom head.
showEyes?
optionalshowEyes:boolean
Defined in: src/StylizedFace.ts:43
Draw the pair of static eyes above the mouth on the same canvas. Defaults to true. Set false when the host avatar already provides its own eye geometry (e.g. a custom puppet head) to avoid doubled-up eyes.
textureSize?
optionaltextureSize:number
Defined in: src/StylizedFace.ts:36
Square canvas dimension in pixels. Defaults to 256.