大约有 12 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0029 秒)
...iew var clientBox = Browser._container.getBoundingClientRect() this._point.setTo((e.pageX || e.clientX)-clientBox.x - win.pageXOffset - docElem.clientLeft,(e.pageY || e.clientY)-clientBox.y - win.pageYOffset - docElem.clientTop); // this._point.setTo(e.pageX || e.clientX, e.pageY || e.clientY); if (...
来源: Laya_社区 发布时间: 20191227
...ent() button.event(Laya.Event.CLICK, event.setTo(Laya.Event.CLICK, button, button)); 2019-05-21 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 直接调用 sprite1CallBack(); 2018-07-24 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...
来源: Laya_社区 发布时间: 20180724
..._this._stage.event(/*laya.events.Event.MOUSE_OUT*/"mouseout",_this._event.setTo(/*laya.events.Event.MOUSE_OUT*/"mouseout",_this._stage,_this._stage)); break ; case "mouseover": _thi...
来源: Laya_社区 发布时间: 20170614
...Point || (this._lastPoint=new Point()); this._lastPoint.setTo(Laya.stage.mouseX,Laya.stage.mouseY); Laya.timer.clear(this,this.tweenMove); Tween.clearTween(this); Laya.stage.once(/*laya.events.Event.MOUSE_UP*/"mouseup",this,this.onSt...
来源: Laya_社区 发布时间: 20201118
...豆蚕 let event = new Laya.Event() button.event(Laya.Event.CLICK, event.setTo(Laya.Event.CLICK, button, button)); 2019-05-21 1 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 可以用自定义事件来实现你说的功能。具体的用法可以参考下这个帖子:自定义...
来源: Laya_社区 发布时间: 20170815
... this.height; this.mask.scrollRect = new Rectangle(); this.mask.scrollRect.setTo(0, 0, this.width, this.height); this.mask.optimizeScrollRect = true; this.addChild(this.mask); } this.initContent = function () { this.content = new Box(); this.content.width = this.width; this.content.autoSize = true; ...
来源: Laya_社区 发布时间: 20161118
...; break ; case "mousemove":; var mousePoint=Input3D._tempPoint; mousePoint.setTo(e.pageX,e.pageY); Laya.stage._canvasTransform.invertTransformPoint(mousePoint); this._mouseTouch.mousePositionX=mousePoint.x; this._mouseTouch.mousePositionY=mousePoint.y; this._mouseTouchRayCast(cameras); break ; case ...
来源: Laya_社区 发布时间: 20200119
...rrentTarget=[object Object] game.js:116 target=[object Object] game.js:116 setTo=function (type,currentTarget,target){ this.type=type; this.currentTarget=currentTarget; this.target=target; return this; } game.js:116 stopPropagation=function (){ this._stoped=true; } */ } 2018-10-31 添加评论 免...
来源: Laya_社区 发布时间: 20181031
...得好麻烦啊 ,请问一下有别的方法吗 源代码中Handler中的setTo()方法 如何检测Animation动画播放完毕后去执行方法? 節點的destroy方法參數默認為true時是否會遞歸調用子對象的destroy方法? onOpen方法是位于哪个类下面? 问题状态 最...
来源: Laya_社区 发布时间: 20170704
... * @return 返回当前 Event 对象。 */ setTo(type: string, currentTarget: laya.display.Sprite, target: laya.display.Sprite): Event; /** * 防止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。 ...
来源: Laya_社区 发布时间: 20170601