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

export class DRACOLoader extends Loader {

	constructor( manager?: LoadingManager );

	load( url: string, onLoad: ( geometry: BufferGeometry ) => void, onProgress?: ( event: ProgressEvent ) => void, onError?: ( event: ErrorEvent ) => void ): void;
	setDecoderPath( path: string ): DRACOLoader;
	setDecoderConfig( config: object ): DRACOLoader;
	setWorkerLimit( workerLimit: number ): DRACOLoader;
	preload(): DRACOLoader;
	dispose(): DRACOLoader;

}