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

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

11. laya.events.Event [ 73%]

...  type : String 事件类型。EventPublic Methods  MethodDefined By  setTo(type:String, currentTarget:Sprite, target:Sprite):Event 设置事件数据。 Event  stopPropagation():void 阻止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。此方法不会影...

来源: Laya2.0_api 发布时间: 20190513

12. Sprite optimizeScrollRect = true 似乎有问题 [ 73%]

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

13. laya.events.Event [ 72%]

...  type : String 事件类型。EventPublic Methods  MethodDefined By  setTo(type:String, currentTarget:Sprite, target:Sprite):Event 设置事件数据。 Event  stopPropagation():void 阻止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。此方法不会影...

来源: laya_api 发布时间: 20170929

14. laya.ui.UIEvent [ 71%]

... Inherited Public Methods Show Inherited Public Methods MethodDefined By setTo(type:String, currentTarget:Sprite, target:Sprite):Event 设置事件数据。 Event stopPropagation():void 阻止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。此方法不会影响...

来源: Laya2.0_api 发布时间: 20190513

15. laya.ui.UIEvent [ 71%]

... Inherited Public Methods Show Inherited Public Methods MethodDefined By setTo(type:String, currentTarget:Sprite, target:Sprite):Event 设置事件数据。 Event stopPropagation():void 阻止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。此方法不会影响...

来源: laya_api 发布时间: 20170929

16. 3D 鼠标检测 错乱 [ 70%]

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

17. 请问在2.0版本的js中,如何获取mouse_move的鼠标坐标 [ 69%]

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

18. image.drawToCanvas方法获取的一直是空的png [ 68%]

...得好麻烦啊 ,请问一下有别的方法吗 源代码中Handler中的setTo()方法 如何检测Animation动画播放完毕后去执行方法? 節點的destroy方法參數默認為true時是否會遞歸調用子對象的destroy方法? onOpen方法是位于哪个类下面? 问题状态 最...

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

19. 如何能监听到TouchStart和TouchEnd事件 [ 67%]

... * @return 返回当前 Event 对象。          */         setTo(type: string, currentTarget: laya.display.Sprite, target: laya.display.Sprite): Event;         /**          * 防止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。  ...

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

20. 官方提供的关系链代码执行报错,是不是wx的sharedCanvas不是Laya的canvas导致的问题 [ 58%]

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