@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.
25 lines (24 loc) • 1.02 kB
TypeScript
/** This file must only contain pure code and pure imports */
import { FlowGraphEventBlock } from "../../flowGraphEventBlock.js";
import { type FlowGraphContext } from "../../flowGraphContext.js";
import { FlowGraphBlockNames } from "../flowGraphBlockNames.js";
import { FlowGraphEventType } from "../../flowGraphEventType.js";
/**
* Block that triggers when a scene is ready.
*/
export declare class FlowGraphSceneReadyEventBlock extends FlowGraphEventBlock {
initPriority: number;
readonly type: FlowGraphEventType;
_executeEvent(context: FlowGraphContext, _payload: any): boolean;
_preparePendingTasks(context: FlowGraphContext): void;
_cancelPendingTasks(context: FlowGraphContext): void;
/**
* @returns class name of the block.
*/
getClassName(): FlowGraphBlockNames;
}
/**
* Register side effects for flowGraphSceneReadyEventBlock.
* Safe to call multiple times; only the first call has an effect.
*/
export declare function RegisterFlowGraphSceneReadyEventBlock(): void;