@ecogis/gis-web-ifc-three
Version:
This library is the implementation of [web-ifc](https://github.com/tomvandig/web-ifc) for [THREE.js](https://github.com/mrdoob/three.js/). This is the official IFCLoader of Three.js.
12 lines (11 loc) • 526 B
TypeScript
import { IFCManager } from './IFC/components/IFCManager';
import { Loader, LoadingManager } from 'three';
import { IFCModel } from './IFC/components/IFCModel';
declare class IFCLoader extends Loader {
ifcManager: IFCManager;
private onProgress?;
constructor(manager?: LoadingManager);
load(url: any, onLoad: (ifc: IFCModel) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void): void;
parse(buffer: ArrayBuffer): Promise<IFCModel>;
}
export { IFCLoader };