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) 913 B
import{F as t,g as e,G as s}from"./KHR_interactivity-D4lwBSW9.esm.min.js";import{R as i,F as a}from"./declarationMapper-D_filC93.esm.min.js";import{u as n}from"./index-BPURObVq.esm.min.js";import"./objectModelMapping-ClgDmo5Q.esm.min.js";import"./spotLight.pure-5s2DDDIt.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-DTUKpfxX.esm.min.js.map