大约有 335 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0069 秒)
Laya_社区(128) Laya3.0_api(69) Laya2.0_api(58) laya_api(54) Laya_示例(9) Laya2.0_文档(8) Laya2.0_示例(7) Laya3.0_文档(2)
...互交 startDrag 如何指定一个圆形的互动范围 startDrag(area?: Rectangle 2018-07-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 LT 赞同来自: 继承重写改引擎都行 2018-07-23 0 0 分享 微...
来源: Laya_社区 发布时间: 20180723
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231115
... this.aniBody.play(0, loopPlay, key); var bound: Laya.Rectangle = this.aniBody.getBounds(); this.aniBody.pivot(bound.width / 2, bound.height / 2); if (direction < 0) { this.aniBody.scaleX = -1; } else { t...
来源: Laya_社区 发布时间: 20170615
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231115
...来自: 可以了 this.tiledMap.createMap("res/tiled/green.json", new Rectangle(0, 0, 1120, 860), new Handler(this, this.completeHandler),null,new Point(1120,860)); 最后那个参数new Point(1120,860),其实是地图的分块渲染的大小,默认是450,450,所以把我的地图分成3次...
来源: Laya_社区 发布时间: 20180321
....buildArmature(1); mArmature.x = 100; mArmature.y = 200; var rect=new Laya.Rectangle(-200,-200,300,300); mArmature.hitArea=rect; Laya.stage.addChild(mArmature); mArmature.on(Event.CLICK, this, onChangeSkin); mArmature.showSkinByName("goblin"); mArmature.play(0, false); mArmature.stop(); } function o...
来源: Laya_社区 发布时间: 20170830
...Drag 的 Bug? aaa.on(Event.DRAG_MOVE, this, onDragMove); aaa.startDrag(new Rectangle(0, 0, 100, 100), true, 0, 200); private function onDragMove(e:Event = null):void { // 正常移动时, bbb 会和 aaa 坐标一至, 释放鼠标后也正常, 但 // BUG 出现在鼠标释放后 当aaa 进入到...
来源: Laya_社区 发布时间: 20180530
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231115
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231115
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231102