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.
15 lines (14 loc) • 621 B
TypeScript
import { IfcEventData, IfcWorkerAPI, WorkerAPIs, WorkerStateAPI } from '../BaseDefinitions';
export declare class StateWorker implements WorkerStateAPI {
private worker;
API: WorkerAPIs;
private cleaner?;
constructor(worker: IfcWorkerAPI);
updateStateUseJson(data: IfcEventData): void;
updateStateWebIfcSettings(data: IfcEventData): void;
updateModelStateJsonData(data: IfcEventData): void;
updateModelStateTypes(data: IfcEventData): void;
dispose(data: IfcEventData): Promise<void>;
loadJsonDataFromWorker(data: IfcEventData): Promise<void>;
private getModel;
}