@inweb/viewer-three
Version:
JavaScript library for rendering CAD and BIM files in a browser using Three.js
21 lines (20 loc) • 917 B
TypeScript
import { Box3, Object3D } from "three";
import { IInfo } from "@inweb/viewer-core";
import { ModelImpl } from "../../models/ModelImpl";
import { DynamicGltfLoader } from "./DynamicGltfLoader.js";
export declare class DynamicModelImpl extends ModelImpl {
gltfLoader: DynamicGltfLoader;
getInfo(): IInfo;
getExtents(target: Box3): Box3;
getObjects(): Object3D[];
getVisibleObjects(): Object3D[];
getObjectsByHandles(handles: string | string[]): Object3D[];
getHandlesByObjects(objects: Object3D | Object3D[]): string[];
hideObjects(objects: Object3D | Object3D[]): this;
isolateObjects(objects: Object3D | Object3D[]): this;
showObjects(objects: Object3D | Object3D[]): this;
showAllObjects(): this;
highlightObjects(objects: Object3D | Object3D[]): this;
unhighlightObjects(objects: Object3D | Object3D[]): this;
explode(scale?: number, coeff?: number): this;
}