UNPKG

@babylonjs/viewer

Version:

The Babylon Viewer aims to simplify a specific but common Babylon.js use case: loading, viewing, and interacting with a 3D model.

36 lines (33 loc) 1.14 kB
import { c as FlowGraphEventBlock } from './KHR_interactivity-Bmb38TjL.esm.js'; import { R as RegisterClass } from './index-FzOfPXLV.esm.js'; import './declarationMapper-rcGCdcDP.esm.js'; import './objectModelMapping-CJnQ6at_.esm.js'; /** * Block that triggers when a scene is ready. */ class FlowGraphSceneReadyEventBlock extends FlowGraphEventBlock { constructor() { super(...arguments); this.initPriority = -1; this.type = "SceneReady" /* FlowGraphEventType.SceneReady */; } _executeEvent(context, _payload) { this._execute(context); return true; } _preparePendingTasks(context) { // no-op } _cancelPendingTasks(context) { // no-op } /** * @returns class name of the block. */ getClassName() { return "FlowGraphSceneReadyEventBlock" /* FlowGraphBlockNames.SceneReadyEvent */; } } RegisterClass("FlowGraphSceneReadyEventBlock" /* FlowGraphBlockNames.SceneReadyEvent */, FlowGraphSceneReadyEventBlock); export { FlowGraphSceneReadyEventBlock }; //# sourceMappingURL=flowGraphSceneReadyEventBlock-DsukoeyE.esm.js.map