An AnimTrack stores the curve data necessary to animate a set of target nodes. It can be linked to the nodes it should animate using the AnimComponent#assignAnimation method.
static EMPTY: AnimTrack;
This AnimTrack can be used as a placeholder track when creating a state graph before having all associated animation data available.
get curves(): AnimCurve[]
Gets the list of curves contained in the AnimTrack.
get duration(): number
Gets the duration of the AnimTrack.
number
get events(): AnimEvents
Gets the animation events that will fire during the playback of this anim track.
set events(animEvents: AnimEvents): void
Sets the animation events that will fire during the playback of this anim track.
void
get inputs(): AnimData[]
Gets the list of curve key data contained in the AnimTrack.
get name(): string
Gets the name of the AnimTrack.
string
get outputs(): AnimData[]
Gets the list of curve values contained in the AnimTrack.