@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.
3 lines (2 loc) • 1.11 kB
JavaScript
import{a as e}from"./KHR_interactivity-BMn2G2LI.esm.min.js";import{d as t,b as i}from"./declarationMapper-sl3auZpG.esm.min.js";import{u as s}from"./index-OM-TXt9s.esm.min.js";import"./objectModelMapping-DA3c5cv8.esm.min.js";import"./spotLight.pure-guqQj5Iw.esm.min.js";const n="sceneTick";class a extends e{constructor(){super(),this.type="SceneBeforeRender",this.timeSinceStart=this.registerDataOutput("timeSinceStart",t),this.deltaTime=this.registerDataOutput("deltaTime",t),this.eventRef=this.registerDataOutput("event",i)}_updateOutputs(e){this.eventRef.setValue(e.getEventReference(n),e)}_preparePendingTasks(e){}_executeEvent(e,t){return this.timeSinceStart.setValue(t.timeSinceStart,e),this.deltaTime.setValue(t.deltaTime,e),this.eventRef.setValue(e.getEventReference(n),e),this._execute(e),!0}_cancelPendingTasks(e){}getClassName(){return"FlowGraphSceneTickEventBlock"}}let r=!1;function c(){r||(r=!0,s("FlowGraphSceneTickEventBlock",a))}c();export{a as FlowGraphSceneTickEventBlock,c as RegisterFlowGraphSceneTickEventBlock};
//# sourceMappingURL=flowGraphSceneTickEventBlock-fKzCxM94.esm.min.js.map