UNPKG

three-stdlib

Version:

stand-alone library of threejs examples

15 lines (12 loc) 483 B
import { Loader, BufferGeometry, LoadingManager } from 'three' export class VTKLoader 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 | string, path: string): BufferGeometry }