@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) • 882 B
JavaScript
import{F as t}from"./KHR_interactivity-D4lwBSW9.esm.min.js";import{R as e,j as s,F as i}from"./declarationMapper-D_filC93.esm.min.js";import{u as r}from"./index-BPURObVq.esm.min.js";import"./objectModelMapping-ClgDmo5Q.esm.min.js";import"./spotLight.pure-5s2DDDIt.esm.min.js";class a extends t{constructor(t){super(t),this.config=t,this.object=this.registerDataInput("object",e),this.array=this.registerDataInput("array",e),this.index=this.registerDataOutput("index",s,new i(-1))}_updateOutputs(t){const e=this.object.getValue(t),s=this.array.getValue(t);s&&this.index.setValue(new i(s.indexOf(e)),t)}serialize(t){super.serialize(t)}getClassName(){return"FlowGraphIndexOfBlock"}}let n=!1;function o(){n||(n=!0,r("FlowGraphIndexOfBlock",a))}o();export{a as FlowGraphIndexOfBlock,o as RegisterFlowGraphIndexOfBlock};
//# sourceMappingURL=flowGraphIndexOfBlock-jGtIDqpo.esm.min.js.map