The .drft container · interface
DrftSkin
A skin: the joints, their inverse bind matrices, and nothing about how it is played.
Explained in The .drft container.
interface DrftSkinimport type { DrftSkin } from '@driftengine/drft';In depth
inverseBind is sixteen floats a joint, column-major, in the same order as joints. An entry
takes a vertex from model space into that joint's bind-pose space, which is what makes a palette
identity at the bind pose whatever the bind pose is.
Properties
| Name | Type | Description |
|---|---|---|
jointsreadonly | readonly Joint[] | |
inverseBindreadonly | Float32Array |