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

大约有 102 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)

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

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

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

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

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

76. 怎么对graphics画出来的图片进行鼠标点击拖动??? [ 57%]

...-11-07 0 0 分享 微博 QZONE 微信 kezhiyu 赞同来自: 为什么不用MOUSE_MOVE, 请按照正常流程, mousedown以后 要监听层级的mousemove 然后将mousemove 的回调中的 e.clientx 和e.clientxY 赋值给...

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

77. 富文本过程中我遇到的问题以及解决方法(超链接换行以及无法接收超链接鼠标事件以及br或者 标签会崩溃报错的问题) [ 56%]

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

78. 刮刮卡效果实现 [ 55%]

....addChild(ape); ape.loadImage("WBSign/img_guakaituceng.png"); ape.on(Event.MOUSE_MOVE, this, onMouseMove); interactionArea = new Sprite(); interactionArea.blendMode = "destination-out"; ape.addChild(interactionArea); interactionArea.graphics.clear(); } function onMouseMove(e) { if(mouseX!=0){ if(Mat...

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

79. 画出来鼠标轨迹线 [ 55%]

...老婆的遮罩层 var times=800;//持久时间 Laya.stage.on(Laya.Event.MOUSE_MOVE,this,mousemove);//事件绑定,当鼠标移动时触发mousemove事件 //把声明的第一个老婆变成灰色老婆(通过添加灰色的色彩滤镜) var grayscaleMat = [0.3086, 0.6094, 0.0820, 0, 0, 0.3086...

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

80. 如何能监听到TouchStart和TouchEnd事件 [ 55%]

...定义 mousemove 事件对象的 type 属性值。*/         static MOUSE_MOVE: string;         /** 定义 mouseover 事件对象的 type 属性值。*/         static MOUSE_OVER: string;         /** 定义 mouseout 事件对象的 type 属性值。*/         stati...

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