AnimationLoader

new AnimationLoader(manager?)
THREE: THREE.AnimationLoader

Loads AnimationClip arrays from JSON.

Methods

MethodDescription
load(url: string, onLoad?: Function, onProgress?: Function, onError?: Function): void

Fetches JSON and passes the parsed AnimationClip array to onLoad.

parse(json: object): AnimationClip[]

Parses a JSON array into AnimationClip instances.