大约有 1,584 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(1113) Laya2.0_文档(231) Laya_示例(108) Laya2.0_示例(69) Laya3.0_文档(50) Laya3.0_api(11) Laya2.0_api(2)
...下的切图,打包后被分配到了三个目录 bin\ad\... 和 bin\res\atlas\ad\... 和 bin\res\atlas\ad.png 这也太乱了太分裂了,统一放在res\atlas\ad目录下,方便做分包加载。 附件 : --> 2020-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20200824
...otate(new Laya.Vector3(-15, 0, 0), true, false); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")...
来源: Laya_示例 发布时间: 20251130
...ar layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); //加载材质 layaMonkey.meshRender.material = Laya.StandardMaterial.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/Mater...
来源: Laya_示例 发布时间: 20251130
...beta wx.login({ success: function () { wx.getUserInfo({ success: function (res) { console.log('success', res) }, fail: function (res) { console.log("reject",res) } }) } }); 这段代码里的wx对象,报错如下 "wx is not defined" 2018-07-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180728
...列表,F12打包图集并进行发布 F12导出后会出在动在bin/h5/res/atlas下自动生成.json和.png图片,该文件即为图集文件 步骤三:预加载图集并获取图集下的小图资源package { import laya.display.Animation; import laya.display.Sprite; import laya.net.Loader; ...
来源: Laya_社区 发布时间: 20160707
...rial; //添加漫反射贴图 Laya.Texture2D.load("res/threeDimen/Physics/rocks.jpg", Laya.Handler.create(this, function (tex) { this.mat1.albedoTexture = tex; })); Laya.Texture2D.load("res/threeDimen/Physics/plywood.jpg", Laya.Handle...
来源: Laya_社区 发布时间: 20191009
...// 图片资源来自“引擎API使用示例” private skins: any[] = [ "resources/res/ui/checkbox (1).png", "resources/res/ui/checkbox (2).png", "resources/res/ui/checkbox (3).png", "resources/res/ui/checkbox (4).png", "resources/res/ui/checkbox (5).png", "resources/res/ui/checkbox (6).png" ]; co...
来源: Laya3.0_文档 发布时间: 20251010
...ateApes(); } createApes() { const Sprite = Laya.Sprite; let monkey2Path = "res/apes/monkey2.png"; this.ape1 = new Sprite(); this.ape2 = new Sprite(); this.ape1.loadImage(monkey2Path); this.ape2.loadImage(monkey2Path); this.ape1.pivot(55, 72); this.ape2.pivot(55, 72); this.ape1.pos(Laya.stage.width /...
来源: Laya2.0_示例 发布时间: 20251130
...源改动了,不是又要一个个去对一下。 Laya.loader.load(["res/atlas/test1.atlas","res/atlas/test2.atlas","res/atlas/test3.atlas","test/test.json",....]); 各位,你们是怎么做的。 2019-11-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20191109
...径 这个是导出之后的路径 项目里的模型文件是在bin/res之下, 导出之后就在res目录之下 没有bin目录 这是什么原因呢? 附件 : --> 2016-11-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20161123