UNPKG

polygonjs-engine

Version:

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

27 lines (26 loc) 1.34 kB
import { TypedSopNode } from './_Base'; import { CoreGroup } from '../../../core/geometry/Group'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; declare class AttribRemapSopParamsConfig extends NodeParamsConfig { /** @param name of the attribute to remap */ name: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.STRING>; /** @param ramp used to remap */ ramp: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.RAMP>; /** @param toggle if you want to create a new attribute */ changeName: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>; /** @param new attribute name */ newName: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.STRING>; } export declare class AttribRemapSopNode extends TypedSopNode<AttribRemapSopParamsConfig> { params_config: AttribRemapSopParamsConfig; static type(): string; initializeNode(): void; cook(input_contents: CoreGroup[]): void; private _remap_attribute; private _get_remaped_values; private _get_normalized_float; private _get_normalized_vector2; private _get_normalized_vector3; private _get_normalized_vector4; } export {};