@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
23 lines (22 loc) • 1.04 kB
TypeScript
/**
* NeighbourDensity is used in particles systems to create flocking behaviours
*
*
*
*/
import { TypedGlNode } from './_Base';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { ShadersCollectionController } from './code/utils/ShadersCollectionController';
declare class NeighbourDensityGlParamsConfig extends NodeParamsConfig {
positionAttribName: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>;
position: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
maxDist: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
}
export declare class NeighbourDensityGlNode extends TypedGlNode<NeighbourDensityGlParamsConfig> {
paramsConfig: NeighbourDensityGlParamsConfig;
static type(): string;
initializeNode(): void;
setLines(shadersCollectionController: ShadersCollectionController): void;
private _templateFunctionDefinition;
}
export {};