UNPKG

polygonjs-engine

Version:

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

27 lines (26 loc) 1.19 kB
/** * Jitter the input points * * @remarks * This can be useful to add amounts of disturbance in the geometry. Either to debug it, or to remove a bit of its smoothness. */ import { CoreGroup } from '../../../core/geometry/Group'; import { TypedSopNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; declare class JitterSopParamsConfig extends NodeParamsConfig { /** @param amount of jitter */ amount: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.FLOAT>; /** @param mult of each axis */ mult: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.VECTOR3>; /** @param seed used to set the direction each point is moved to */ seed: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.INTEGER>; } export declare class JitterSopNode extends TypedSopNode<JitterSopParamsConfig> { params_config: JitterSopParamsConfig; static type(): string; static displayedInputNames(): string[]; initializeNode(): void; private _operation; cook(input_contents: CoreGroup[]): void; } export {};