@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
25 lines (24 loc) • 1.26 kB
TypeScript
/**
* NeighbourRepulse 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 NeighbourRepulseGlParamsConfig extends NodeParamsConfig {
positionAttribName: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>;
position: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
amount: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
minDist: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
maxDist: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
}
export declare class NeighbourRepulseGlNode extends TypedGlNode<NeighbourRepulseGlParamsConfig> {
paramsConfig: NeighbourRepulseGlParamsConfig;
static type(): string;
initializeNode(): void;
setLines(shadersCollectionController: ShadersCollectionController): void;
private _templateFunctionDefinition;
}
export {};