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.

3 lines (2 loc) 766 B
import{F as e}from"./KHR_interactivity-CKt1TdMW.esm.min.js";import{R as t,k as s,b as i}from"./declarationMapper-13w1YGqM.esm.min.js";import{R as a}from"./index-Bw2N6w1y.esm.min.js";import"./objectModelMapping-DX92iJ8M.esm.min.js";class r extends e{constructor(e){super(e),this.config=e,this.object=this.registerDataInput("object",t),this.array=this.registerDataInput("array",t),this.index=this.registerDataOutput("index",s,new i(-1))}_updateOutputs(e){const t=this.object.getValue(e),s=this.array.getValue(e);s&&this.index.setValue(new i(s.indexOf(t)),e)}serialize(e){super.serialize(e)}getClassName(){return"FlowGraphIndexOfBlock"}}a("FlowGraphIndexOfBlock",r);export{r as FlowGraphIndexOfBlock}; //# sourceMappingURL=flowGraphIndexOfBlock-C1N4dahj.esm.min.js.map