Skip to content

@modoki/engine / index / AnimationClipDef

Interface: AnimationClipDef ​

Animation ​

deformTracks? ​

optional deformTracks?: DeformTrack[]

Optional per-vertex mesh-deform channels (Spine deform). Absent on scalar-only clips (the common case) — no cost when unused.


duration ​

duration: number

Clip length in seconds.


frameRate ​

frameRate: number

Authoring sample rate ("Samples" in Unity), used for frame snapping.


id ​

id: string

Stable GUID — mirrors the .meta.json sidecar id.


loop ​

loop: boolean


name ​

name: string


tracks ​

tracks: AnimationTrack[]

Built with Modoki.