Interface VatBakeTarget
captureBoneMatrices?: readonly number[];
captureBoneOrigins?: readonly number[];
mesh: Mesh;
}
Hierarchy (View Summary)
- VatBakeOptions
- VatBakeTarget
Properties
Optional Readonlycapture Bone Matrices
Bone indices whose complete posed SKINNING MATRIX should be captured per baked frame — the rigid attachment case, where the attached geometry must inherit the bone's rotation and scale, not only its origin (a saddle, a socketed mesh, a plate rigidly weighted to one joint). Bone index = position in the skeleton's joint list = the bone's row block in the baked texture. Captured during the same CPU-only evaluation that fills the texture, so no clip has to be re-seeked afterwards. See VatBakeResult.boneMatrices.
Optional Readonlycapture Bone Origins
Bone indices whose posed ORIGIN should be sampled per baked frame (e.g. a hand joint for a held item, a muzzle, an FX socket). Bone index = position in the skeleton's joint list = the bone's row block in the baked texture. See VatBakeResult.boneOrigins.
One mesh in a batched VAT bake, with optional per-mesh capture extras.