UNPKG

polygonjs-engine

Version:

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

24 lines (23 loc) 1.02 kB
/** * Rename an attribute * * */ import { TypedSopNode } from './_Base'; import { CoreGroup } from '../../../core/geometry/Group'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; declare class AttribRenameSopParamsConfig extends NodeParamsConfig { /** @param class of the attribute to rename (object or geometry) */ class: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.INTEGER>; /** @param old attribute name */ oldName: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.STRING>; /** @param new attribute name */ newName: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.STRING>; } export declare class AttribRenameSopNode extends TypedSopNode<AttribRenameSopParamsConfig> { params_config: AttribRenameSopParamsConfig; static type(): string; initializeNode(): void; cook(input_contents: CoreGroup[]): void; } export {};