UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

46 lines (45 loc) 1.41 kB
/** This file must only contain pure code and pure imports */ import { type NodeParticleConnectionPoint } from "../../nodeParticleBlockConnectionPoint.js"; import { type NodeParticleBuildState } from "../../nodeParticleBuildState.js"; import { NodeParticleBlock } from "../../nodeParticleBlock.js"; /** * Block used to update particle position based on a flow map */ export declare class UpdateFlowMapBlock extends NodeParticleBlock { /** * Create a new UpdateFlowMapBlock * @param name defines the block name */ constructor(name: string); /** * Gets the particle component */ get particle(): NodeParticleConnectionPoint; /** * Gets the flowMap input component */ get flowMap(): NodeParticleConnectionPoint; /** * Gets the strength input component */ get strength(): NodeParticleConnectionPoint; /** * Gets the output component */ get output(): NodeParticleConnectionPoint; /** * Gets the current class name * @returns the class name */ getClassName(): string; /** * Builds the block * @param state defines the current build state */ _build(state: NodeParticleBuildState): void; } /** * Register side effects for updateFlowMapBlock. * Safe to call multiple times; only the first call has an effect. */ export declare function RegisterUpdateFlowMapBlock(): void;