UNPKG

threepipe

Version:

A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.

10 lines 579 B
import { SimpleJSONLoader } from './SimpleJSONLoader'; import { ThreeViewer } from '../../viewer'; import { SerializationMetaType } from '../../utils/serialization'; import { IMaterial } from '../../core'; export declare class JSONMaterialLoader extends SimpleJSONLoader { viewer?: ThreeViewer; loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<any>; static DeserializeMaterialJSON(json: any, viewer: ThreeViewer, meta?: SerializationMetaType, obj?: IMaterial | IMaterial[]): Promise<any>; } //# sourceMappingURL=JSONMaterialLoader.d.ts.map