voxolith

RiggedModel

A rigged rest model ready for posing on the GPU: see prepareRigged.

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

Properties

PropertyTypeDescriptionDefined in
anchorVec3The rest anchor.engine/src/animation/bake.ts:366
dataUint8ArrayRole values, with the rig's cover already applied to voxels buried at rest.engine/src/animation/bake.ts:360
jointsobject[]Per bone: its parent (-1 for the root) and its head, where it joins the parent.engine/src/animation/bake.ts:364
partBoxesInt32ArrayEach bone's voxel box (min x, y, z, max x, y, z), of the undamaged model when one is given: the renderer packs one pose per set of boxes, so wounded copies that share them share every pose.engine/src/animation/bake.ts:371
partsUint8ArrayBone index per voxel.engine/src/animation/bake.ts:362
sizeobject-engine/src/animation/bake.ts:358
size.xnumber-engine/src/animation/bake.ts:358
size.ynumber-engine/src/animation/bake.ts:358
size.znumber-engine/src/animation/bake.ts:358

On this page