UNPKG

@polygonjs/polygonjs

Version:

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

21 lines (20 loc) 929 B
/** * Decomposes the input objects into multiple geometry, material and texture nodes to allow granular updates * */ import { SubnetSopNodeLike } from './utils/subnet/SopSubnetChildrenDisplayController'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { NetworkNodeType } from '../../poly/NodeContext'; export declare const DECOMPOSE_EVENT_TYPE: 'decompose'; declare class DecomposeSopParamsConfig extends NodeParamsConfig { /** @param decompose the input object */ decompose: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BUTTON>; } export declare class DecomposeSopNode extends SubnetSopNodeLike<DecomposeSopParamsConfig> { paramsConfig: DecomposeSopParamsConfig; static type(): NetworkNodeType; initializeNode(): void; static PARAM_CALLBACK_decompose(node: DecomposeSopNode): void; private _paramCallbackDecompose; } export {};