API

Interface AnimationClip

One animation clip (may animate many nodes).

interface AnimationClip {
    channels: readonly AnimationChannel[];
    duration: number;
    frameRate?: number;
    name: string;
    samplers: readonly AnimationSampler[];
}
Index
channels: readonly AnimationChannel[]
duration: number

Total playback duration in seconds.

frameRate?: number

Frame rate used by AnimationGroup goToFrame(); defaults to 60.

name: string
samplers: readonly AnimationSampler[]