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.

28 lines (27 loc) 1.07 kB
import type { IFlowGraphBlockConfiguration } from "../../flowGraphBlock.js"; import type { FlowGraphContext } from "../../flowGraphContext.js"; import { FlowGraphExecutionBlockWithOutSignal } from "../../flowGraphExecutionBlockWithOutSignal.js"; import type { FlowGraphSignalConnection } from "../../flowGraphSignalConnection.js"; /** * The configuration of the FlowGraphGetVariableBlock. */ export interface IFlowGraphSetVariableBlockConfiguration extends IFlowGraphBlockConfiguration { /** * The name of the variable to set. */ variable?: string; /** * The name of the variables to set. */ variables?: string[]; } /** * This block will set a variable on the context. */ export declare class FlowGraphSetVariableBlock<T> extends FlowGraphExecutionBlockWithOutSignal { constructor(config: IFlowGraphSetVariableBlockConfiguration); _execute(context: FlowGraphContext, _callingSignal: FlowGraphSignalConnection): void; private _saveVariable; getClassName(): string; serialize(serializationObject?: any): void; }