大约有 1,301 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
...导出到程序编程黑色 这是unity里面的模型 导出ls或者lh文件在程序里面都会变成黑色的。如下: 附件 : --> 2018-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 9 个回复 qian ...
来源: Laya_社区 发布时间: 20180118
...出的卡车模型 this.role3D = Laya.Sprite3D.load("LayaScene_truck/truck.lh"); //模型与材质加载完成监听与回调 this.role3D.on(Laya.Event.HIERARCHY_LOADED,this,this.onLoadComplete); this.scene.addChild(this.role3D); //模型与材质加载完成后回调 private onLoadComplete():void{ ...
来源: Laya_社区 发布时间: 20171109
.../载入并显示3D建筑 var map = Laya.Sprite3D.load("LayaScene_test/test.lh"); scene.addChild(map); //map.transform.localPosition = new Laya.Vector3(0,-4,-10); //控制摄像机 camera.addComponent(CameraMoveScript); 2017-05-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20170524
....endian = Laya.Byte.LITTLE_ENDIAN; //建立连接 this.socket.connect("localhost", 9244); // this.socket.connectByUrl("ws://localhost:9241"); // this.socket.connectByUrl("ws://localhost:8989"); this.socket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.rec...
来源: Laya_社区 发布时间: 20171129
...骼节点。所以如果需要使用新的骨骼挂点方式,但是.ls,lh等文件是老版本插件导出的,那就需要重新导出。 > 新版本骨骼挂点 ```typescript Laya.Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage...
来源: Laya2.0_文档 发布时间: 20210715
...骼节点。所以如果需要使用新的骨骼挂点方式,但是.ls,lh等文件是老版本插件导出的,那就需要重新导出。 > 新版本骨骼挂点 ```typescript Laya.Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage...
来源: Laya2.0_文档 发布时间: 20210714
...骼节点。所以如果需要使用新的骨骼挂点方式,但是.ls,lh等文件是老版本插件导出的,那就需要重新导出。 > 新版本骨骼挂点 ```typescript Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Handler.create(this,function(res:Scene3D):void{ Laya.st...
来源: Laya2.0_文档 发布时间: 20210714
...s.scene.addChild(Laya.Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); //设置地板可以接受阴影 grid.getChildAt(0).meshRenderer.receiveShadow = true; //获取一个静态网格猴子 var staticLayaMonkey = this.scene.addChild(new Laya.MeshSprite3D(Laya.Loader.getRes("res/threeDime...
来源: Laya2.0_文档 发布时间: 20210715
... Laya.loader.create("res/scene_Effect/Conventional/Effect_zhujue_attack.lh", Laya.Handler.create(this, () => { let item = Laya.loader.getRes("res/scene_Effect/Conventional/Effect_zhujue_attack.lh"); let tarItem = Laya.Sprite3D.instant...
来源: Laya_社区 发布时间: 20191102
...出的场景不显示实时阴影 2.2.0beta4,微信上动态合批报错. lh文件内meshSprite添加阴影属性无效 请问一下怎样动态加载prefab 关于动态合并以及克隆的一些问题 动态改变List的高度之后,再刷新列表, 影响了Space~~如何避免? UI皮肤怎么...
来源: Laya_社区 发布时间: 20170905