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) 774 B
import{u as e}from"./index-BPURObVq.esm.min.js";import{a as t}from"./declarationMapper-D_filC93.esm.min.js";import{F as s}from"./flowGraphKeyboardEventBlock-kQjWMbxv.esm.min.js";import"./KHR_interactivity-D4lwBSW9.esm.min.js";import"./objectModelMapping-ClgDmo5Q.esm.min.js";import"./spotLight.pure-5s2DDDIt.esm.min.js";class i extends s{constructor(e){super(e),this.type="KeyDown",this.isRepeat=this.registerDataOutput("isRepeat",t)}_executeEvent(e,t){const s=t.event.repeat??!1;return!(!s||!this.config?.ignoreRepeat)||(this.isRepeat.setValue(s,e),super._executeEvent(e,t))}getClassName(){return"FlowGraphKeyDownEventBlock"}}e("FlowGraphKeyDownEventBlock",i);export{i as FlowGraphKeyDownEventBlock}; //# sourceMappingURL=flowGraphKeyDownEventBlock-DJI2W1OM.esm.min.js.map