大约有 55 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0033 秒)
...异步加载 // var mesh:Laya.Mesh = Laya.Mesh.load("LayaScene_01/Assets/model/loveScene_jianzhu.lm"); // var meshSprite3D:Laya.MeshSprite3D = new Laya.MeshSprite3D(mesh); //方法二:预加载,创建为Sprite3D类型 Laya.loader.create("LayaScene_01/Assets/model/loveScene_jianzhu.lm",Laya.Handl...
来源: Laya_社区 发布时间: 20171109
...题: [code]wx.getSystemInfo({ success (res) { =inheritconsole.log(res.model) } })[/code] 改为 [code]wx.getSystemInfo({ success: function (res) { =inheritconsole.log(res.model) } })[/code] 2018-11-19 0 0 分享 微博 QZONE 微信 zhangdiansong 赞同来自: 可以使用不压缩发布出来...
来源: Laya_社区 发布时间: 20180731
...道为什么,下面代码截图,项目文件如下 附件 : --> h5model_-_副本_(2).rar 2017-03-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 你是3D的项目?可以把你...
来源: Laya_社区 发布时间: 20170321
...再进行赋值操作,代码如下。// 刷新下数值 var temp = this.model.transform.localRotationEuler; // 再进行修改 this.model.transform.localRotationEulerY = 90;方案二:在laya.d3.js中,在set localRotationEulerX、set localRotationEulerY、set localRotationEulerZ等属性方法...
来源: Laya_社区 发布时间: 20210806
... var myscene = new Laya.Scene3D; Laya.Sprite3D.load("Models/Ball.lh", Laya.Handler.create(this, function(sp){ for(var i=0; i<3; i++){ var ball = myscene.addChild(sp.clone()); ball....
来源: Laya_社区 发布时间: 20200723
...式。 如果想要自定义mesh,可以参考laya.d3.resource.models.BoxMesh,现在laya实现了方体,球体,四边形,平面,圆柱体,胶囊体,都可供你参考! 2017-11-26 0 1 分享 微博 QZONE 微信 sssa2000 赞同来自: 十分感谢您的回复 我们是想尝试...
来源: Laya_社区 发布时间: 20171126
...ader.create(["LayaScene_Scene/Scene.ls","LayaScene_Scene/Assets/BakerHouse/Models/Baker_house-Baker_house.lm"],Laya.Handler.create(this, this.completeHandler)); completeHandler(): void { Laya.stage.addChild(Laya.loader.getRes("LayaScene_Scene/Scene.ls")); Laya.stage.addChild(Laya.loader.getRes("Laya...
来源: Laya_社区 发布时间: 20181221
...ce.Texture2D; import laya.d3.resource.TextureCube; import laya.d3.resource.models.BoxMesh; import laya.d3.resource.models.QuadMesh; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.utils.Browser; import laya.utils.Stat; import laya.utils.Timer; import threeDimen.common.C...
来源: Laya_社区 发布时间: 20170331
...es = { idle: 'resources/Assets/ArtResources/Models/Shuipao/Animation/WaterCannon_idle-Idle.lsani', attack: 'resources/Assets/ArtResources/Models/Shuipao/Animation/WaterCannon_attack-Attack.lsani', }; private ...
来源: Laya_社区 发布时间: 20170608
...{ url: "res/atlas/game/game.atlas", type: Laya.Loader.ATLAS }, { url: "res/models/scene/scene.lh", clas: Laya.Sprite3D, priority: 1 }, { url: "res/models/xiaoji/xiaoji.lh", clas: Laya.Sprite3D, priority: 1 }, { url: "res/models/item/item.lh", clas: Laya.Sprite3D, priority: 1 } ]; Laya.loader.create(...
来源: Laya_社区 发布时间: 20180426