UNPKG

@inweb/viewer-three

Version:

JavaScript library for rendering CAD and BIM files in a browser using Three.js

10 lines (9 loc) 374 B
import { Loader } from "@inweb/viewer-core"; import { Viewer } from "../Viewer"; import { GLTFLoadParams } from "./GLTFLoadingManager"; export declare class GLTFFileLoader extends Loader { viewer: Viewer; constructor(viewer: Viewer); isSupport(file: any, format?: string): boolean; load(file: any, format?: string, params?: GLTFLoadParams): Promise<this>; }