RiggedModel
A rigged rest model ready for posing on the GPU: see prepareRigged.
Defined in: engine/src/animation/bake.ts:357
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
anchor | Vec3 | The rest anchor. | engine/src/animation/bake.ts:366 |
data | Uint8Array | Role values, with the rig's cover already applied to voxels buried at rest. | engine/src/animation/bake.ts:360 |
joints | object[] | Per bone: its parent (-1 for the root) and its head, where it joins the parent. | engine/src/animation/bake.ts:364 |
partBoxes | Int32Array | Each 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 |
parts | Uint8Array | Bone index per voxel. | engine/src/animation/bake.ts:362 |
size | object | - | engine/src/animation/bake.ts:358 |
size.x | number | - | engine/src/animation/bake.ts:358 |
size.y | number | - | engine/src/animation/bake.ts:358 |
size.z | number | - | engine/src/animation/bake.ts:358 |