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.

50 lines (49 loc) 1.45 kB
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 { /** * 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; /** * Serializes the block into a json object * @returns The serialized object */ serialize(): any; /** * Deserializes the block from a json object * @param serializationObject The object to deserialize from */ _deserialize(serializationObject: any): void; }