UNPKG

threepipe

Version:

A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.

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