Constructor
new AnimationLoader( manager : LoadingManager )
Constructs a new animation loader.
| manager |
The loading manager. |
Methods
.load( url : string, onLoad : function, onProgress : onProgressCallback, onError : onErrorCallback )
Starts loading from the given URL and pass the loaded animations as an array
holding instances of AnimationClip to the onLoad() callback.
| url |
The path/URL of the file to be loaded. This can also be a data URI. |
| onLoad |
Executed when the loading process has been finished. |
| onProgress |
Executed while the loading is in progress. |
| onError |
Executed when errors occur. |
- Overrides: Loader#load
.parse( json : Object ) : Array.<AnimationClip>
Parses the given JSON object and returns an array of animation clips.
| json |
The serialized animation clips. |
- Overrides: Loader#parse
- Returns: The parsed animation clips.