Newer
Older
HuangJiPC / public / static / three / examples / jsm / loaders / ColladaLoader.d.ts
@zhangdeliang zhangdeliang on 21 Jun 497 bytes update
import {
	AnimationClip,
	Loader,
	LoadingManager,
	Scene
} from '../../../src/Three';


export interface Collada {
	animations: AnimationClip[];
	kinematics: object;
	library: object;
	scene: Scene;
}

export class ColladaLoader extends Loader {

	constructor( manager?: LoadingManager );

	load( url: string, onLoad: ( collada: Collada ) => void, onProgress?: ( event: ProgressEvent ) => void, onError?: ( event: ErrorEvent ) => void ) : void;
	parse( text: string, path: string ) : Collada;

}