API

Interface AnimationCurveTrack

A detached keyframe snapshot, aligned with an entry in targetedAnimations.

interface AnimationCurveTrack {
    componentCount: number;
    easing?: AnimationEasing;
    interpolation: string;
    keys: readonly AnimationCurveKey[];
    quaternion: boolean;
    sharedSampler: boolean;
    source: "gltf" | "property";
    target: TargetedAnimation;
}
Index
componentCount: number

Property-track easing applied by Lite playback.

interpolation: string

Current sampler mode (linear, step, or cubicSpline).

keys: readonly AnimationCurveKey[]
quaternion: boolean
sharedSampler: boolean

True when another channel in this glTF clip references the same sampler.

source: "gltf" | "property"

Runtime source that owns the sampler.