voxolith

BakeOptions

Options for bakePose.

Defined in: engine/src/animation/bake.ts:21

Properties

PropertyTypeDescriptionDefined in
cover?Uint8Array<ArrayBufferLike>Cover for voxels a pose exposes. When a limb swings, voxels that were buried at rest (flesh under a haunch) end up on the surface; with a table mapping role value → surface role (a generator's interior → fur), those are drawn with the cover instead. Voxels already on the rest surface — including wounds carved into the rest model — are left alone, so damage still shows its inside. Defaults to rig.cover.engine/src/animation/bake.ts:36
fill?booleanClose joint cracks (default true).engine/src/animation/bake.ts:25
weld?booleanWeld each posed joint so a child bone cannot come off its parent (default true).engine/src/animation/bake.ts:27
yaw?numberTurn about the vertical axis through the anchor, radians.engine/src/animation/bake.ts:23

On this page