Skip to content

AnimationLoader

new AnimationLoader(manager?)

THREE equivalent: THREE.AnimationLoader

Loads AnimationClip arrays from JSON.

Method Description
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.