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.

44 lines (43 loc) 1.29 kB
import type { NodeParticleConnectionPoint } from "../../nodeParticleBlockConnectionPoint.js"; import type { NodeParticleBuildState } from "../../nodeParticleBuildState.js"; import { NodeParticleBlock } from "../../nodeParticleBlock.js"; /** * Block used to provide a flow of particles emitted from a sphere shape. */ export declare class SphereShapeBlock extends NodeParticleBlock { /** * Create a new SphereShapeBlock * @param name defines the block name */ constructor(name: string); /** * Gets the current class name * @returns the class name */ getClassName(): string; /** * Gets the input component */ get input(): NodeParticleConnectionPoint; /** * Gets the radius input component */ get radius(): NodeParticleConnectionPoint; /** * Gets the radiusRange input component */ get radiusRange(): NodeParticleConnectionPoint; /** * Gets the directionRandomizer input component */ get directionRandomizer(): NodeParticleConnectionPoint; /** * Gets the output component */ get output(): NodeParticleConnectionPoint; /** * Builds the block * @param state defines the build state */ _build(state: NodeParticleBuildState): void; }