Skip to content

@modoki/engine / index / DeformKey

Interface: DeformKey

One keyframe of a deform (per-vertex mesh) timeline — a DENSE array of local-space offset deltas [dx0,dy0,dx1,dy1,…], length 2×vertCount, added to the part's BIND vertices before skinning (Spine "deform" — cloth/cape flutter, squash beyond what bones express). Spine's sparse offset start is padded to dense at import so the runtime needs no per-key offset bookkeeping.

Animation

offsets

offsets: number[]

Dense per-vertex offset deltas in the part's bind/texture space (y-down).


t

t: number

Time in SECONDS along the clip.

Built with Modoki.