@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) • 918 B
JavaScript
import{F as t,g as e,G as s}from"./KHR_interactivity-BMn2G2LI.esm.min.js";import{R as i}from"./declarationMapper-sl3auZpG.esm.min.js";import{F as a}from"./objectModelMapping-DA3c5cv8.esm.min.js";import{u as n}from"./index-OM-TXt9s.esm.min.js";import"./spotLight.pure-guqQj5Iw.esm.min.js";class r extends t{constructor(t){super(t),this.config=t,this.type=this.registerDataInput("type",i,t.type),this.value=this.registerDataOutput("value",i),this.index=this.registerDataInput("index",i,new a(e(t.index??-1)))}_updateOutputs(t){const i=this.type.getValue(t),a=this.index.getValue(t),n=s(t.assetsContext,i,e(a),this.config.useIndexAsUniqueId);this.value.setValue(n,t)}getClassName(){return"FlowGraphGetAssetBlock"}}let o=!1;function p(){o||(o=!0,n("FlowGraphGetAssetBlock",r))}p();export{r as FlowGraphGetAssetBlock,p as RegisterFlowGraphGetAssetBlock};
//# sourceMappingURL=flowGraphGetAssetBlock-hHsexA9h.esm.min.js.map