@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.
38 lines (37 loc) • 1.24 kB
TypeScript
/** This file must only contain pure code and pure imports */
import { NodeParticleBlock } from "../../nodeParticleBlock.js";
import { type NodeParticleConnectionPoint } from "../../nodeParticleBlockConnectionPoint.js";
import { type NodeParticleBuildState } from "../../nodeParticleBuildState.js";
/**
* Block used to provide the basic update functionality for particle sprite index.
*/
export declare class BasicSpriteUpdateBlock extends NodeParticleBlock {
/**
* Create a new BasicSpriteUpdateBlock
* @param name defines the block name
*/
constructor(name: string);
/**
* Gets the particle component
*/
get particle(): 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 basicSpriteUpdateBlock.
* Safe to call multiple times; only the first call has an effect.
*/
export declare function RegisterBasicSpriteUpdateBlock(): void;