@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) • 780 B
JavaScript
import{b as t}from"./KHR_interactivity-CKt1TdMW.esm.min.js";import{R as e}from"./index-Bw2N6w1y.esm.min.js";import"./declarationMapper-13w1YGqM.esm.min.js";import"./objectModelMapping-DX92iJ8M.esm.min.js";class i extends t{constructor(t){super(t),this.config=t;for(const t in this.config.eventData)this.registerDataInput(t,this.config.eventData[t].type,this.config.eventData[t].value)}_execute(t){const e=this.config.eventId,i={};for(const e of this.dataInputs)i[e.name]=e.getValue(t);t.configuration.coordinator.notifyCustomEvent(e,i),this.out._activateSignal(t)}getClassName(){return"FlowGraphReceiveCustomEventBlock"}}e("FlowGraphReceiveCustomEventBlock",i);export{i as FlowGraphSendCustomEventBlock};
//# sourceMappingURL=flowGraphSendCustomEventBlock-CPbege4K.esm.min.js.map