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) 796 B
import{F as t,g as e,G as s}from"./KHR_interactivity-CKt1TdMW.esm.min.js";import{R as i,b as a}from"./declarationMapper-13w1YGqM.esm.min.js";import{R as n}from"./index-Bw2N6w1y.esm.min.js";import"./objectModelMapping-DX92iJ8M.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"}}n("FlowGraphGetAssetBlock",r);export{r as FlowGraphGetAssetBlock}; //# sourceMappingURL=flowGraphGetAssetBlock-Duw_xGP9.esm.min.js.map