大约有 1,293 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0048 秒)
.../载入并显示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
...内容相关的链接 提交 2 个回复 Laya_Xq 赞同来自: 你是导入lh模型时候出的这个报错?能否详细描述下你的问题 2018-10-27 0 0 分享 微博 QZONE 微信 果粒儿 赞同来自: 给物体添加角色控制器 Playercontroller = ballobj.addComponent(Laya.CharacterC...
来源: Laya_社区 发布时间: 20181026
...问题已经无效) LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 lh文件内meshSprite添加阴影属性无效 关于同为object层,层级设置无效的问题 2.0 drawTexture color参数无效 matter.js mouseconstraint在微信小游戏中无效 3D动画混合无效 ColorFilter滤镜在...
来源: Laya_社区 发布时间: 20180531