@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) • 1 kB
JavaScript
import{c as e,_ as t}from"./KHR_interactivity-CKt1TdMW.esm.min.js";import{f as s,R as r}from"./declarationMapper-13w1YGqM.esm.min.js";import{R as i}from"./index-Bw2N6w1y.esm.min.js";import"./objectModelMapping-DX92iJ8M.esm.min.js";class n extends e{constructor(e){super(e),this.type="PointerOver",this.pointerId=this.registerDataOutput("pointerId",s),this.targetMesh=this.registerDataInput("targetMesh",r,e?.targetMesh),this.meshUnderPointer=this.registerDataOutput("meshUnderPointer",r)}_executeEvent(e,s){const r=this.targetMesh.getValue(e);this.meshUnderPointer.setValue(s.mesh,e);const i=s.out&&t(s.out,r);return this.pointerId.setValue(s.pointerId,e),!(!i&&(s.mesh===r||t(s.mesh,r)))||(this._execute(e),!this.config?.stopPropagation)}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphPointerOverEventBlock"}}i("FlowGraphPointerOverEventBlock",n);export{n as FlowGraphPointerOverEventBlock};
//# sourceMappingURL=flowGraphPointerOverEventBlock-BKTAsBIG.esm.min.js.map