Skip to content

@modoki/engine / index / DeformTrack

Interface: DeformTrack

A non-scalar animation channel: per-vertex mesh deformation of one rig PART. Sits ALONGSIDE the scalar tracks[] (which drive bones); this drives the mesh vertices directly. Bound to the SkinnedSprite2D entity by the same relative name-path model, plus a part name to pick the part within a multi-part rig. Interpolated LINEARLY between keys (Spine deform is typically linear; per-frame curves are a later refinement).

Animation

keys

keys: DeformKey[]

Keys sorted ascending by t. All keys must share the same vertex count.


part

part: string

Part name within the rig this deform targets (matches Rig2DPart.name).


path

path: string

Relative name-path from the Animator root to the SkinnedSprite2D entity.

Built with Modoki.