@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-BMn2G2LI.esm.min.js";import{R as o}from"./declarationMapper-sl3auZpG.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";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-bcUY_-6_.esm.min.js.map