import { MaterialConfiguratorBasePlugin, MaterialVariations } from 'threepipe'; import { GridItemListPlugin } from './GridItemListPlugin'; /** * Material Configurator Plugin (Basic UI) * This plugin allows you to create variations of materials mapped to material names or uuids in the scene. * These variations can be applied to the materials in the scene. (This copies the properties to the same material instances instead of assigning new materials) * The plugin interfaces with the picking plugin and also provides uiConfig to show and edit the variations. * This functionality is inherited from `MaterialConfiguratorBasePlugin` * * Additionally, this plugin adds a Grid UI using {@link GridItemListPlugin} in the DOM over the viewer canvas to show various material variations and allow the user to apply them. * The UI can also be used in the editor to edit the variations and apply them. */ export declare class MaterialConfiguratorPlugin extends MaterialConfiguratorBasePlugin { static PluginType: string; enableEditContextMenus: boolean; dependencies: (typeof GridItemListPlugin)[]; /** * Animate the material change when applying a variation. */ animateApply: boolean; /** * Duration of the animation when applying a variation in ms */ animateApplyDuration: number; protected _refreshUi(): Promise; materialContextMenuItems: (variation: MaterialVariations, uuid: string) => { Remove: () => Promise; }; variationsContextMenuItems: (variation: MaterialVariations) => { "Rename Mapping": () => Promise; "Rename Title": () => Promise; "Clear Materials": () => Promise; "Remove Section": () => Promise; }; } //# sourceMappingURL=MaterialConfiguratorPlugin.d.ts.map