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

export interface XResult {
	animations: object[];
	models: Mesh[];
}

export class XLoader extends Loader {

	constructor( manager?: LoadingManager );

	load( url: string, onLoad: ( object: XResult ) => void, onProgress?: ( event: ProgressEvent ) => void, onError?: ( event: ErrorEvent ) => void ): void;
	parse( data: ArrayBuffer | string, onLoad: ( object: object ) => void ): object;

}