大约有 70 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
Laya_社区(41) Laya2.0_示例(8) Laya2.0_文档(6) Laya_示例(6) Laya2.0_api(3) laya_api(3) Laya3.0_文档(2) Laya3.0_api(1)
...ge.on(Laya.Event.MOUSE_DOWN, this, this.onMouse); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.onMouse); 在frameLoop中,我让Laya.stage.pos(movex,movey)后,就再不会调用this.onMouse事件了,请问如何解决? 2018-03-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20180311
...USE_EVENTS = new Set([ Event.MOUSE_DOWN, Event.MOUSE_UP, Event.MOUSE_MOVE, Event.CLICK, Event.DOUBLE_CLICK, Event.RIGHT_CLICK, Event.RIGHT_MOUSE_DOWN, Event.RIGHT_MOUSE_UP, Event.MOUSE_OVER, Event.MOUSE_OUT, Event.MOUSE_WHEEL ]); static isMouseEv...
来源: Laya_社区 发布时间: 20231106
...ge.on(Laya.Event.MOUSE_DOWN,this,this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE,this,this.mouseMove); private mouseDown():void{ let mX:number = Laya.stage.mouseX; this.lastMouseX = mX; this.isDown = true; } private mouseUp():void{ this.isDown = false; } public rotate(vec:Laya.Vector3):void{...
来源: Laya_社区 发布时间: 20180113
...n(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.onMouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.onMouseUp, [true]); } /** 按钮动画处理 */ private hitTest(t: Laya.Image) { let s = t.source.getPixels(t.mouseX, t.mouseY, 1, 1).join('')...
来源: Laya_社区 发布时间: 20180731
...定义 mousemove 事件对象的 type 属性值。*/ static MOUSE_MOVE: string; /** 定义 mouseover 事件对象的 type 属性值。*/ static MOUSE_OVER: string; /** 定义 mouseout 事件对象的 type 属性值。*/ stati...
来源: Laya_社区 发布时间: 20170601
...tage.mouseY)); //鼠标按下的时候进行移动侦听 e.target.on(Event.MOUSE_MOVE, this, this.onItemBoxMouseMove, [e.target, index]); } } if (e.type == Event.MOUSE_UP) { this.mouseDown = false; this.itemOnMouseUp(); } //点击标记文本 if (e.target.name == "flag" && e.type == Event.CLICK) thi...
来源: Laya2.0_示例 发布时间: 20251130
...prevX = this.txt.mouseX; prevY = this.txt.mouseY; Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.finishScrollText); } /* 停止滚动文本 */ finishScrollText() { Laya.stage.off(Laya.Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.off...
来源: Laya3.0_文档 发布时间: 20251010
...usedown[static] 定义 mousedown 事件对象的 type 属性值。Event MOUSE_MOVE : String = mousemove[static] 定义 mousemove 事件对象的 type 属性值。Event MOUSE_OUT : String = mouseout[static] 定义 mouseout 事件对象的 type 属性值。Event MOUSE_OVER : String = mouseove...
来源: Laya2.0_api 发布时间: 20190513
...usedown[static] 定义 mousedown 事件对象的 type 属性值。Event MOUSE_MOVE : String = mousemove[static] 定义 mousemove 事件对象的 type 属性值。Event MOUSE_OUT : String = mouseout[static] 定义 mouseout 事件对象的 type 属性值。Event MOUSE_OVER : String = mouseove...
来源: laya_api 发布时间: 20170929
...mousedown[static] 定义 mousedown 事件对象的 type 属性值。Event MOUSE_MOVE : String = mousemove[static] 定义 mousemove 事件对象的 type 属性值。Event MOUSE_OUT : String = mouseout[static] 定义 mouseout 事件对象的 type 属性值。Event MOUSE_OVER : String = mouseover[st...
来源: Laya2.0_api 发布时间: 20190513