• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 96 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0040 秒)

61. 图片像素精准点击问题! [ 62%]

...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

62. 关于多点触控e.touches问题 [ 62%]

...ent.MOUSE_DOWN, this, onCtrlMoveRockerTouchDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, onCtrlMoveRockerTouchDown);     function onCtrlMoveRockerTouchDown(e) {    console.log("onCtrlMoveRockerTouchDown()");    this.ctrlMoveRockerPosX = undefined;    this.ctrlMoveRockerPosY = undefined; ...

来源: Laya_社区 发布时间: 20171204

63. Laya.stage.on的Mouse事件,正常情况下没问题,但是Laya.stage.pos移动后就失灵了,请问如何解决? [ 62%]

...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

64. 关于微信小游戏下的MOUSE_UP事件touches问题 [ 61%]

...么?微信小游戏环境下的手指事件用MOUSE_UP和MOUSE_EVENTMOUSE_MOVE对不对?   ================================================================================= 问题最后解决了,微信上确实存在onTouchEnd时touches数组包含了已经抬起的手指touch信息,但...

来源: Laya_社区 发布时间: 20180717

65. laya怎么实现视差滚动效果? [ 61%]

...p://m.etao.com/go/market/etao/wndtb-2014.php 我想了一下,使用Event.MOUSE_MOVE很难判断手指在触摸屏上下往复拖动的情况,谁提供个思路? 2017-05-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...

来源: Laya_社区 发布时间: 20170531

66. 3D模型旋转问题,鼠标移动之后,根据按下移动的X坐标差值判断左右旋转,但是会越转越快,请问是什么问题? [ 60%]

...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

67. laya.events.Event [ 60%]

...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

68. laya.events.Event [ 59%]

...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

69. laya.ui.UIEvent [ 58%]

...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

70. laya.ui.UIEvent [ 58%]

...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...

来源: laya_api 发布时间: 20170929