UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

17 lines (16 loc) 844 B
import { Constructor } from '../../../../../types/GlobalTypes'; import { RootManagerNode } from '../../Root'; export declare function SceneMaterialOverrideParamConfig<TBase extends Constructor>(Base: TBase): { new (...args: any[]): { /** @param toggle on to override all materials */ useOverrideMaterial: import("../../../utils/params/ParamsConfig").ParamTemplate<import("../../../../index_all").ParamType.BOOLEAN>; /** @param material */ overrideMaterial: import("../../../utils/params/ParamsConfig").ParamTemplate<import("../../../../index_all").ParamType.NODE_PATH>; }; } & TBase; export declare class SceneMaterialOverrideController { protected node: RootManagerNode; constructor(node: RootManagerNode); update(): Promise<void>; static update(node: RootManagerNode): Promise<void>; }