@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) • 777 B
JavaScript
import{c as t}from"./KHR_interactivity-D4lwBSW9.esm.min.js";import{R as o}from"./declarationMapper-D_filC93.esm.min.js";import{u as s}from"./index-BPURObVq.esm.min.js";import"./objectModelMapping-ClgDmo5Q.esm.min.js";import"./spotLight.pure-5s2DDDIt.esm.min.js";class e extends t{constructor(t){super(t),this.sound=this.registerDataInput("sound",o)}_execute(t,o){const s=this.sound.getValue(t);if(!s)return this._reportError(t,"No sound provided"),void this.out._activateSignal(t);s.stop(),this.out._activateSignal(t)}getClassName(){return"FlowGraphStopSoundBlock"}}let i=!1;function r(){i||(i=!0,s("FlowGraphStopSoundBlock",e))}r();export{e as FlowGraphStopSoundBlock,r as RegisterFlowGraphStopSoundBlock};
//# sourceMappingURL=flowGraphStopSoundBlock-Bj3-8mXm.esm.min.js.map