@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
27 lines (26 loc) • 1.2 kB
TypeScript
/**
* 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';
import { SopType } from '../../poly/registers/nodes/types/Sop';
declare class JitterSopParamsConfig extends NodeParamsConfig {
/** @param amount of jitter */
amount: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
/** @param mult of each axis */
mult: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
/** @param seed used to set the direction each point is moved to */
seed: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>;
}
export declare class JitterSopNode extends TypedSopNode<JitterSopParamsConfig> {
paramsConfig: JitterSopParamsConfig;
static type(): SopType;
initializeNode(): void;
private _operation;
cook(input_contents: CoreGroup[]): void;
}
export {};