File size: 479 Bytes
6cd9596
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { LoadingManager } from './LoadingManager';
import { AnimationClip } from './../animation/AnimationClip';

export class AnimationLoader {
  constructor(manager?: LoadingManager);

  manager: LoadingManager;

  load(
    url: string,
    onLoad?: (response: string | ArrayBuffer) => void,
    onProgress?: (request: ProgressEvent) => void,
    onError?: (event: ErrorEvent) => void
  ): any;
  parse(json: any): AnimationClip[];
  setPath(path: string): AnimationLoader;
}