@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.
27 lines (26 loc) • 1.15 kB
TypeScript
/** This file must only contain pure code and pure imports */
import { FlowGraphBlock, type IFlowGraphBlockConfiguration } from "../../../flowGraphBlock.js";
import { type FlowGraphContext } from "../../../flowGraphContext.js";
import { type FlowGraphDataConnection } from "../../../flowGraphDataConnection.pure.js";
/**
* A block that outputs elements from the context
*/
export declare class FlowGraphContextBlock extends FlowGraphBlock {
/**
* Output connection: The user variables from the context
*/
readonly userVariables: FlowGraphDataConnection<FlowGraphContext["userVariables"]>;
/**
* Output connection: The execution id from the context
*/
readonly executionId: FlowGraphDataConnection<FlowGraphContext["executionId"]>;
constructor(config?: IFlowGraphBlockConfiguration);
_updateOutputs(context: FlowGraphContext): void;
serialize(serializationObject?: any): void;
getClassName(): string;
}
/**
* Register side effects for flowGraphContextBlock.
* Safe to call multiple times; only the first call has an effect.
*/
export declare function RegisterFlowGraphContextBlock(): void;