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) 991 B
import{c as t,_ as e}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 a extends t{constructor(t){super(t),this.type="PointerOut",this.pointerId=this.registerDataOutput("pointerId",s),this.targetMesh=this.registerDataInput("targetMesh",r,t?.targetMesh),this.meshOutOfPointer=this.registerDataOutput("meshOutOfPointer",r)}_executeEvent(t,s){const r=this.targetMesh.getValue(t);this.meshOutOfPointer.setValue(s.mesh,t),this.pointerId.setValue(s.pointerId,t);return!((!s.over||!e(s.mesh,r))&&(s.mesh===r||e(s.mesh,r)))||(this._execute(t),!this.config?.stopPropagation)}_preparePendingTasks(t){}_cancelPendingTasks(t){}getClassName(){return"FlowGraphPointerOutEventBlock"}}i("FlowGraphPointerOutEventBlock",a);export{a as FlowGraphPointerOutEventBlock}; //# sourceMappingURL=flowGraphPointerOutEventBlock-CZPBysdH.esm.min.js.map