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.

18 lines 918 B
import { SimpleJSONLoader } from './SimpleJSONLoader'; import { ThreeViewer } from '../../viewer'; import { SerializationMetaType } from '../../utils/serialization'; import { IMaterial } from '../../core'; export declare class JSONMaterialLoader extends SimpleJSONLoader { static SupportedJSONTypes: () => string[]; static SupportedJSONExtensions: () => string[]; viewer?: ThreeViewer; /** * Find any existing material with the same uuid and update it instead of creating a new one * This is a global flag to toggle this behavior on or off * @default false */ static FindExistingMaterial: boolean; parseAsync(json: Record<string, any>): Promise<any>; static DeserializeMaterialJSON(json: any, viewer: ThreeViewer, meta?: SerializationMetaType, obj?: IMaterial | IMaterial[]): Promise<any>; } //# sourceMappingURL=../../src/assetmanager/import/JSONMaterialLoader.d.ts.map