大约有 100 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
Laya_社区(70) Laya2.0_示例(7) Laya2.0_文档(6) Laya_示例(6) Laya2.0_api(4) laya_api(4) Laya3.0_文档(2) Laya3.0_api(1)
...t.MOUSE_OUT, this, this._onMouseOut); this.on(Laya.Event.MOUSE_MOVE, this, this._onMouseMove); 增加如下3个方法 _onMouseOver() { var tX = this.mouseX; var tY = this.mouseY; var i, len; ...
来源: Laya_社区 发布时间: 20200724
...0, 0, 20, "#990000"); Laya.stage.addChild(sp); Laya.stage.on(Event.MOUSE_MOVE, this, function() { sp.pos(Laya.stage.mouseX, Laya.stage.mouseY); }); ```  (图1) 此时FPS显示30,并且在鼠标移动时,可以感觉到圆球位置的更...
来源: Laya2.0_文档 发布时间: 20210715
...drawCircle(0,0,20,"#990000"); Laya.stage.addChild(sp); Laya.stage.on(Event.MOUSE_MOVE,this,function() { sp.pos(Laya.stage.mouseX,Laya.stage.mouseY); }); ```  (图1) 此时F...
来源: Laya2.0_文档 发布时间: 20210715
...(range); //sp.scaleY=0.5; guideContainer.addChild(sp); Laya.stage.on(Event.MOUSE_MOVE,this,move); } private function move():void { sp.x=Laya.stage.mouseX; sp.y=Laya.stage.mouseY; sp.graphics.clear(); sp.graphics.drawCircle(0, 0, 200,"#0ef604"); } li970704928 • 2017-12-13 19:08 @Laya_Aaro...
来源: Laya_社区 发布时间: 20171213
...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
...ircle(0,0,20,"#990000"); Laya.stage.addChild(sp); Laya.stage.on(Laya.Event.MOUSE_MOVE,this,function() { sp.pos(Laya.stage.mouseX,Laya.stage.mouseY); }); ```  (图1) 此时F...
来源: Laya2.0_文档 发布时间: 20210714
...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
...定义 mousemove 事件对象的 type 属性值。*/ static MOUSE_MOVE: string; /** 定义 mouseover 事件对象的 type 属性值。*/ static MOUSE_OVER: string; /** 定义 mouseout 事件对象的 type 属性值。*/ stati...
来源: Laya_社区 发布时间: 20170601