import { Material } from 'three'; export type MaterialCloneInstructionsType = { materialNameOrg: string; materialProperties: { name: string; vertexColors: number; flatShading: boolean; }; }; /** * Static functions useful in the context of handling materials. */ export declare class MaterialUtils { /** * Adds the provided material to the provided map of materials if the material does not exists. * Use force override existing material. * * @param {Map} materialsObject * @param {string} materialName * @param {Material} material * @param {boolean} force Enforce addition of provided material * @param {boolean} [log] Log messages to the console */ static addMaterial(materialsObject: Map, materialName: string, material: Material, force: boolean, log?: boolean): void; /** * Transforms the named materials object to an object with named jsonified materials. * * @param {Map} * @returns {Map} Map of Materials in JSON representation */ static getMaterialsJSON(materialsObject: Map): Map; /** * Clones a material according the provided instructions. * * @param {Map} materials * @param {MaterialCloneInstructionsType} materialCloneInstruction * @param {boolean} [log] */ static cloneMaterial(materials: Map, materialCloneInstruction: MaterialCloneInstructionsType, log?: boolean): Material | undefined; } //# sourceMappingURL=MaterialUtils.d.ts.map