UNPKG

@polygonjs/polygonjs

Version:

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

24 lines (23 loc) 903 B
/** * scatters points inside the bounding box of an object * * @remarks * This can be useful to quickly create points in a volume. * */ import { TypedSopNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { CoreGroup } from '../../../core/geometry/Group'; import { SopType } from '../../poly/registers/nodes/types/Sop'; declare class BboxScatterSopParamsConfig extends NodeParamsConfig { /** @param the smaller the step size, the more points this will create */ stepSize: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; } export declare class BboxScatterSopNode extends TypedSopNode<BboxScatterSopParamsConfig> { paramsConfig: BboxScatterSopParamsConfig; static type(): SopType; initializeNode(): void; private _operation; cook(input_contents: CoreGroup[]): void; } export {};