大约有 75 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0039 秒)
...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
...,但是2.0 最新版 接口变了, Texture 的drawto public function setTo(bitmap:Texture2D = null, uv:Array = null, sourceWidth:Number = 0, sourceHeight:Number = 0):void { 变成了Textrue2d了, 像以前1.x版本Textrue 还能用htmlcanvas,现在不能用了。而且直接强传入,会...
来源: Laya_社区 发布时间: 20190624
...rds.width,lineY,this.color,1); var hitRec=HTMLHitRect.create(); hitRec.rec.setTo(startWord.x,lastWords.y,lastWords.x+lastWords.width-startWord.x,lastWords.height); hitRec.href=this.href; recList.push(hitRec); }graphic.drawLine()这里会用到this.color,应当是this.style.color吧?this在这里...
来源: Laya_社区 发布时间: 20190801
...位 可以通过 var target=document.getElementById('div-id'); this._point.setTo((e.pageX || e.clientX)-target.offsetLeft,( e.pageY || e.clientY)-target.offsetTop); 2021-05-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 CCQ 相关问...
来源: Laya_社区 发布时间: 20200825
... var p:Point = value.localToGlobal(Point.TEMP.setTo(0, 0)); world.ShiftOrigin({x: p.x / PIXEL_RATIO, y: p.y / PIXEL_RATIO}); } } 2018-11-23 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回...
来源: Laya_社区 发布时间: 20181122
...得好麻烦啊 ,请问一下有别的方法吗 源代码中Handler中的setTo()方法 如何检测Animation动画播放完毕后去执行方法? 節點的destroy方法參數默認為true時是否會遞歸調用子對象的destroy方法? onOpen方法是位于哪个类下面? 问题状态 最...
来源: Laya_社区 发布时间: 20170704
... 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
...rm.b,form.c,form.d,form.tx,form.ty]; 开放域 Laya.stage._canvasTransform.setTo(arr[0],arr[1],arr[2],arr[3],arr[4],arr[5]); 2018-07-02 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 185*****307 相关问题 关于微信小游戏关系...
来源: Laya_社区 发布时间: 20180511
...aya.Texture2D(width, height, 1); tex2d.setPixels(data); this.imgAr.texture.setTo(tex2d); } 附件 : --> demo.zip 2021-01-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 157*****593 赞同来自: 经排查发现...
来源: Laya_社区 发布时间: 20210114
...; 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