大约有 72 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0033 秒)
...撞判断 问题三:image.setBounds(rectangle)之后,当我rectangle.setTo(x,x,x,x)是不是也动态影响了image的碰撞区域? 问题四:这个rectangle需要不需要添加到显示列表才能实现碰撞? 问题五:有没有更简便的碰撞方式?不满足于两个image碰...
来源: Laya_社区 发布时间: 20161202
...ords.width,lineY,color,1); } } var hitRec=HTMLHitRect.create(); hitRec.rec.setTo(words[0].x,lastWords.y,lastWords.x+lastWords.width-words[0].x,lastWords.height); hitRec.href=this.href; recList.push(hitRec); } } } }if(words[0].y != words[words.length-1].y) 此处的修改。目前这个代码只支...
来源: Laya_社区 发布时间: 20190611
...ttp://127.0.0.1:10656/game/js/bundle.js:15188:19) at Texture.__proto.setTo (http://127.0.0.1:10656/game/js/bundle.js:15065:14) at new Texture (http://127.0.0.1:10656/game/js/bundle.js:15001:8) at Main.<anonymous> (http://127.0.0.1:10656/game/js/bundle.js:1196:16) at Tim...
来源: Laya_社区 发布时间: 20181123
...1; Texture.__super.call(this); if (bitmap){ bitmap._addReference(); } this.setTo(bitmap,uv); } 2018-05-04 5 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Prajna 赞同来自: 自己解决了 2018-05-04 0 5 分享 ...
来源: Laya_社区 发布时间: 20180504
...nt.scrollRect = Rectangle.create()); content._style.scrollRect.setTo(rectX, rectY, width, height); content.scrollRect = content.scrollRect; } 附件 : --> Bug文本.zip 2021-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20211108
... type : String 事件类型。EventPublic Methods MethodDefined By setTo(type:String, currentTarget:Sprite, target:Sprite):Event 设置事件数据。 Event stopPropagation():void 阻止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。此方法不会影...
来源: Laya2.0_api 发布时间: 20190513
... type : String 事件类型。EventPublic Methods MethodDefined By setTo(type:String, currentTarget:Sprite, target:Sprite):Event 设置事件数据。 Event stopPropagation():void 阻止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。此方法不会影...
来源: laya_api 发布时间: 20170929
... * @return 返回当前 Event 对象。 */ setTo(type: string, currentTarget: laya.display.Sprite, target: laya.display.Sprite): Event; /** * 防止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。 ...
来源: Laya_社区 发布时间: 20170601
... Inherited Public Methods Show Inherited Public Methods MethodDefined By setTo(type:String, currentTarget:Sprite, target:Sprite):Event 设置事件数据。 Event stopPropagation():void 阻止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。此方法不会影响...
来源: Laya2.0_api 发布时间: 20190513
... Inherited Public Methods Show Inherited Public Methods MethodDefined By setTo(type:String, currentTarget:Sprite, target:Sprite):Event 设置事件数据。 Event stopPropagation():void 阻止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。此方法不会影响...
来源: laya_api 发布时间: 20170929