大约有 541 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
...在unity里面LayaRun预览没有任何问题,也成功导出了Scene和Sprite3D。但是把这些放到项目bin文件夹下之后,对着文档进行更改之后,F5调试就报错了。 2019-03-18 0 0 分享 微博 QZONE 微信 由纪 赞同来自: 同样遇到这样的问题,请问该怎...
来源: Laya_社区 发布时间: 20190317
...-11 20:43 @源:那个,这样算是吧刚体和模型分开了吗。 Laya.Sprite3D.load("h5/LayaScene_car/Conventional/car.lh",Laya.Handler.create(this,(sp:Laya.Sprite3D)=> { this.car = sp.getChildAt(0).getChildAt(0) as Laya.Sprite3D; this.scene.addChild(this.car); this.rig = (this.car...
来源: Laya_社区 发布时间: 20190111
...ya3d运行加载时,控制台打印出undefined字样,添加在场景上的Sprite3D渲染不出来。 求赐教 补充~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unity里的资源项目并没有看到有出错的提示啊 补充~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
来源: Laya_社区 发布时间: 20171201
...ew Laya.Vector3(-1, -1, -1); light4.color = new Laya.Vector3(1, 1, 0); var sprite3D = scene.addChild(new Laya.Sprite3D()); //添加自定义模型 var box = sprite3D.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 1, 1))); box.transform.position = new Laya.Vector3(0, 0.5, 0); var material = new L...
来源: Laya_社区 发布时间: 20180103
...TypeError: Cannot read property 'props' of undefinedat Function.Laya3D._getSprite3DHierarchyInnerUrls (laya.d3.js:15158) at Loader.Laya3D._onHierarchylhLoaded (laya.d3.js:15252) at EventHandler.__proto.runWith (laya.core.js:1127) at Loader.__proto.event (laya.core.js:883) at Loader.__proto.complete ...
来源: Laya_社区 发布时间: 20181013
...his.scene); 3.新建模型,并且添加B页面的3D场景中 var map: Laya.Sprite3D = Laya.Sprite3D.load("cj/cj.lh"); this.scene.addChild(map); 4.切换页面 private playGame(): void { Laya.stage.removeChild(this.welcomePanel); this.gamePanel = new GamePanel();//不管是不是重新new的,模...
来源: Laya_社区 发布时间: 20180411
...thographic = true; camera.orthographicVerticalSize = 5; this.effRes = Laya.Sprite3D.load(resUrl); this.effRes.on(Laya.Event.HIERARCHY_LOADED, this, function(){ this.eff1 = scene.addChild( Laya.Sprite3D.instantiate(this.effRes)); this.eff1.transform.position = new Laya.Vector3(0,0,50); this.eff1.tran...
来源: Laya_社区 发布时间: 20180503
...与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: var a:Sprite3D = new Sprite3D(); a.transform.rotation; 2018-09-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 careylwq 相关问题 sprite旋...
来源: Laya_社区 发布时间: 20180823
...e = Laya.TextureCube.load("res/sky/skyCube.ltc"); camera.sky = skyBox; var sprite3D = scene.addChild(Laya.Sprite3D.load("cj03/LastHopeScene.lh")); //sprite3D.transform.localScale = new Laya.Vector3(0.2, 0.2, 0.2); sprite3D.once(Laya.Event.HIERARCHY_LOADED, null, function(sprite) { //console.log(scen...
来源: Laya_社区 发布时间: 20170707
...信 bing8310124 赞同来自: 已解决! //仓库原型 var warehouse1:Sprite3D = scene.addChild(Sprite3D.load("model/warehouse/warehouse.lh")) as Sprite3D; warehouse1.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(-25,0,0),false); var wa...
来源: Laya_社区 发布时间: 20171220