‘liusuyi’
2023-08-09 161b9318e345c8a0c9cdc133b33a1c759495f323
1
2
3
4
5
6
7
8
9
10
11
import Model from '../Model.js';
import { ZRColor, PaletteOptionMixin, DecalObject } from '../../util/types.js';
import GlobalModel from '../Global.js';
interface PaletteMixin<T extends PaletteOptionMixin = PaletteOptionMixin> extends Pick<Model<T>, 'get'> {
}
declare class PaletteMixin<T extends PaletteOptionMixin = PaletteOptionMixin> {
    getColorFromPalette(this: PaletteMixin<T>, name: string, scope?: any, requestNum?: number): ZRColor;
    clearColorPalette(this: PaletteMixin<T>): void;
}
export declare function getDecalFromPalette(ecModel: GlobalModel, name: string, scope?: any, requestNum?: number): DecalObject;
export { PaletteMixin };