@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) • 701 B
JavaScript
import{F as t}from"./KHR_interactivity-UbVlhV6v.esm.min.js";import{R as e}from"./declarationMapper-CxpskoI1.esm.min.js";import"./index-yNtOWHHe.esm.min.js";import"./objectModelMapping-DJGnHmCN.esm.min.js";class s extends t{constructor(t){super(t),this.config=t,this.executionFunction=this.registerDataInput("function",e),this.value=this.registerDataInput("value",e),this.result=this.registerDataOutput("result",e)}_updateOutputs(t){const e=this.executionFunction.getValue(t),s=this.value.getValue(t);e&&this.result.setValue(e(s,t),t)}getClassName(){return"FlowGraphCodeExecutionBlock"}}export{s as FlowGraphCodeExecutionBlock};
//# sourceMappingURL=flowGraphCodeExecutionBlock-C2rbSD9r.esm.min.js.map