threepipe
Version:
A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.
15 lines • 391 B
JavaScript
export class BaseImporterPlugin {
constructor() {
this.toJSON = null; // disable serialization
}
onAdded(viewer) {
viewer.assetManager.importer.addImporter(this._importer);
}
onRemove(viewer) {
viewer.assetManager.importer.removeImporter(this._importer);
}
dispose() {
return;
}
}
//# sourceMappingURL=BaseImporterPlugin.js.map