@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) • 770 B
JavaScript
import{d as o,R as e}from"./declarationMapper-sl3auZpG.esm.min.js";import{F as t}from"./flowGraphCachedOperationBlock-YPEvoRCv.esm.min.js";import{u as s}from"./index-OM-TXt9s.esm.min.js";import"./objectModelMapping-DA3c5cv8.esm.min.js";import"./spotLight.pure-guqQj5Iw.esm.min.js";import"./KHR_interactivity-BMn2G2LI.esm.min.js";class r extends t{constructor(t){super(o,t),this.sound=this.registerDataInput("sound",e)}_doOperation(o){const e=this.sound.getValue(o);if(e)return e.volume}getClassName(){return"FlowGraphGetSoundVolumeBlock"}}let i=!1;function m(){i||(i=!0,s("FlowGraphGetSoundVolumeBlock",r))}m();export{r as FlowGraphGetSoundVolumeBlock,m as RegisterFlowGraphGetSoundVolumeBlock};
//# sourceMappingURL=flowGraphGetSoundVolumeBlock-QIK_VLf8.esm.min.js.map