@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-D_filC93.esm.min.js";import{F as t}from"./flowGraphCachedOperationBlock-CIvATd1Y.esm.min.js";import{u as s}from"./index-BPURObVq.esm.min.js";import"./KHR_interactivity-D4lwBSW9.esm.min.js";import"./objectModelMapping-ClgDmo5Q.esm.min.js";import"./spotLight.pure-5s2DDDIt.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-_capdFYR.esm.min.js.map