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.

48 lines (47 loc) 1.59 kB
import type { Nullable } from "../../../../types.js"; import { NodeParticleBlock } from "../../nodeParticleBlock.js"; import type { NodeParticleConnectionPoint } from "../../nodeParticleBlockConnectionPoint.js"; import type { ParticleTeleportInBlock } from "./particleTeleportInBlock.js"; import type { NodeParticleBuildState } from "../../nodeParticleBuildState.js"; /** * Defines a block used to receive a value from a teleport entry point */ export declare class ParticleTeleportOutBlock extends NodeParticleBlock { /** @internal */ _entryPoint: Nullable<ParticleTeleportInBlock>; /** @internal */ _tempEntryPointUniqueId: Nullable<number>; /** * Create a new ParticleTeleportOutBlock * @param name defines the block name */ constructor(name: string); /** * Gets the entry point */ get entryPoint(): Nullable<ParticleTeleportInBlock>; /** * Gets the current class name * @returns the class name */ getClassName(): string; /** * Gets the output component */ get output(): NodeParticleConnectionPoint; /** Detach from entry point */ detach(): void; _build(): void; protected _customBuildStep(state: NodeParticleBuildState): void; /** * Clone the current block to a new identical block * @returns a copy of the current block */ clone(): NodeParticleBlock | null; /** * Serializes this block in a JSON representation * @returns the serialized block object */ serialize(): any; _deserialize(serializationObject: any): void; }