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.

36 lines (35 loc) 1.05 kB
import { NodeParticleBlock } from "../../nodeParticleBlock.js"; import type { NodeParticleConnectionPoint } from "../../nodeParticleBlockConnectionPoint.js"; import type { NodeParticleBuildState } from "../../nodeParticleBuildState.js"; /** * Block used to update the direction of a particle */ export declare class UpdateDirectionBlock extends NodeParticleBlock { /** * Create a new UpdateDirectionBlock * @param name defines the block name */ constructor(name: string); /** * Gets the particle component */ get particle(): NodeParticleConnectionPoint; /** * Gets the direction input component */ get direction(): 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; }