@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.
39 lines (38 loc) • 1.18 kB
TypeScript
/** This file must only contain pure code and pure imports */
import { NodeParticleBlock } from "../nodeParticleBlock.js";
import { type NodeParticleConnectionPoint } from "../nodeParticleBlockConnectionPoint.js";
/**
* Block used to define a list of gradient entries
*/
export declare class ParticleGradientBlock extends NodeParticleBlock {
private _entryCount;
/**
* Creates a new ParticleGradientBlock
* @param name defines the block name
*/
constructor(name: string);
private _extend;
private _reduce;
private _manageExtendedInputs;
/**
* Gets the current class name
* @returns the class name
*/
getClassName(): string;
/**
* Gets the gradient operand input component
*/
get gradient(): NodeParticleConnectionPoint;
/**
* Gets the output component
*/
get output(): NodeParticleConnectionPoint;
_build(): void;
serialize(): any;
_deserialize(serializationObject: any): void;
}
/**
* Register side effects for particleGradientBlock.
* Safe to call multiple times; only the first call has an effect.
*/
export declare function RegisterParticleGradientBlock(): void;