大约有 422 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)
...、生成图集 (1)下载ShoeBox (2)修改ShoeBox的设置,如下图 FileFormatLoop:\n\t"@ID":{"x":"@x", "y":"@y", "w":"@w", "h":"@h"}, FileFormatOuter:{@loop\n\t"":""\n} (3)把morn/assets里的资源分别拖到BoxSheet的SpriteSheet菜单上生成图集和配置文件 (4)在h5目录下添加与s...
来源: Laya_社区 发布时间: 20151217
...ts.Event):void { var touches: Array<any> = e.touches; if (touches) { for(let i=0;i<touches.length;i++){ let t =touches[i]; let nameIndex =e.touchId + "_" + i; console.log(nameIndex+":"+e.type); } } } 之能收到down和move! 2018-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20181102
...a = new Laya.Camera(0, 0.1, 100); this.scene.addChild(camera); camera.transform.translate(new Laya.Vector3(0, 3, 5)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); var directionLight = new Laya.DirectionLight(); this.scene.addChild(directionLight); //设置灯光方向 var mat ...
来源: Laya_社区 发布时间: 20191209
...个BUG,修复如下: laya.d3.js -> SimpleSingletonList.Clear -> for (var i = 0, n = this.length; i < n; i++) 引擎代码 i没有赋初值,导致 i<n永远为false. 2020-03-21 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...
来源: Laya_社区 发布时间: 20190923
... { LayaRender.body_impl(render, body); for (var i = 1; i < body.parts.length; i++) { LayaRender.body(render, body.parts); } } 备注: 由于comp是组合body,其本身也是body,LayaRender.Bod...
来源: Laya_社区 发布时间: 20180625
...源代码,修复了。laya.d3.js -> SimpleSingletonList.Clear -> for (var i = 0, n = this.length; i < n; i++),引擎代码 i没有赋初值,导致 i<n永远为false. 峯 • 2020-01-09 16:49 好吧,我再留意下,我iPhone7p上是没出现过,iPhoneX上出现过
来源: Laya_社区 发布时间: 20200108
...ulation.shapeCastAll(sphereCollider, this.from, this.to, this.hitResults); for (i = 0, n = this.hitResults.length; i 该示例中射线摆放的模型是使用代码创建的,只是为了方便观察和理解形状扫描检测。 > (图1)
来源: Laya2.0_文档 发布时间: 20210715
...ulation.shapeCastAll(sphereCollider, this.from, this.to, this.hitResults); for (i = 0, n = this.hitResults.length; i 该示例中射线摆放的模型是使用代码创建的,只是为了方便观察和理解形状扫描检测。 > (图1)
来源: Laya2.0_文档 发布时间: 20210714
...cene.physicsSimulation.shapeCastAll(sphereCollider, from, to, hitResults); for (i = 0, n = hitResults.length; i 该示例中射线摆放的半透明模型是使用代码创建的,只是为了方便观察和理解形状扫描检测。 > (图1)
来源: Laya2.0_文档 发布时间: 20210715
...Child(rankList); // 设置数据项为对应图片的路径 var data = []; for (var i = 0; i < 10; ++i) { data.push("res/1.jpg"); data.push("res/1.jpg"); data.push("res/1.jpg"); data.push("res/1.jpg"); } rankList.array = data; function updateItem(cell, index) { cell.setImg(cell.dataSource); } ...
来源: Laya_社区 发布时间: 20180416