UNPKG

polygonjs-engine

Version:

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

26 lines (25 loc) 1.09 kB
/** * blends 2 geometries together. * * @remarks * Note that both geometries must have the same number of points for predictable results * */ import { TypedSopNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { CoreGroup } from '../../../core/geometry/Group'; declare class BlendSopParamsConfig extends NodeParamsConfig { /** @param name of the attribute to blend */ attribName: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.STRING>; /** @param blend value. 0 means the result will equal the left input, 1 will equal the right input, and 0.5 will be an average of both. */ blend: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.FLOAT>; } export declare class BlendSopNode extends TypedSopNode<BlendSopParamsConfig> { params_config: BlendSopParamsConfig; static type(): string; static displayedInputNames(): string[]; initializeNode(): void; cook(input_contents: CoreGroup[]): void; private blend; } export {};