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


export interface Assimp {
	animation: any;
	object: Object3D;
}

export class AssimpLoader extends Loader {

	constructor( manager?: LoadingManager );

	load( url: string, onLoad: ( result: Assimp ) => void, onProgress?: ( event: ProgressEvent ) => void, onError?: ( event: ErrorEvent ) => void ) : void;
	parse( buffer: ArrayBuffer, path: string ) : Assimp;

}