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.

42 lines (41 loc) 1.22 kB
import { NodeParticleBlock } from "../../nodeParticleBlock.js"; import type { NodeParticleConnectionPoint } from "../../nodeParticleBlockConnectionPoint.js"; import type { NodeParticleBuildState } from "../../nodeParticleBuildState.js"; /** * Block used to update particle position based on a flow map */ export declare class UpdateFlowMapBlock extends NodeParticleBlock { /** * Gets or sets the strenght of the flow map effect */ strength: number; /** * 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 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; serialize(): any; _deserialize(serializationObject: any): void; }