UNPKG

three-stdlib

Version:

stand-alone library of threejs examples

15 lines (12 loc) 460 B
import { Loader, BufferGeometry, LoadingManager } from 'three' export class MD2Loader extends Loader { constructor(manager?: LoadingManager) load( url: string, onLoad: (geometry: BufferGeometry) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void, ): void loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<BufferGeometry> parse(data: ArrayBuffer): BufferGeometry }