The .drft container · interface

JointTrack

One joint's keys for one of its three transforms.

Explained in The .drft container.

interface JointTrack
import type { JointTrack } from '@driftengine/drft';

Properties

NameTypeDescription
jointreadonlynumber
pathreadonlyTrackPath
timesreadonlyFloat32ArrayAscending, in seconds. One entry per key.
valuesreadonlyFloat32ArrayThree floats a key for translation and scale, four for rotation.