@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) • 887 B
JavaScript
import{F as t}from"./KHR_interactivity-BMn2G2LI.esm.min.js";import{R as e,k as s}from"./declarationMapper-sl3auZpG.esm.min.js";import{F as i}from"./objectModelMapping-DA3c5cv8.esm.min.js";import{u as r}from"./index-OM-TXt9s.esm.min.js";import"./spotLight.pure-guqQj5Iw.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-BrAQyosD.esm.min.js.map