• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 623 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)

151. 请教3D插件设置,导出的ls加载失败 [ 76%]

...3 关注: 2 人 chrysanthemum • 2018-04-17 16:30 报错的信息是"Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file.",说明要求的是加载一个.lh文件,但是用Scene导出的却是一个.ls文件 w1114367261 • 2018-04-17 16:47 ...

来源: Laya_社区 发布时间: 20180416

152. unity导出插件报错 [ 76%]

...Async (laya.d3.js:21944) at Animator.__proto.addClip (laya.d3.js:22458) at Sprite3D.__proto._parseCustomComponent (laya.d3.js:27313) at Function.Utils3D._createNodeByJson (laya.d3.js:15937) at Function.Utils3D._createNodeByJson (laya.d3.js:15945) at Sprite3D.__proto.onAsynLoaded (laya.d3.js:27847) a...

来源: Laya_社区 发布时间: 20180103

153. [LayaAir2]natvie 模型clone后回收内存泄露 [ 75%]

...一个.lh 然后 一直clone   然后一直 clone,摧毁clone出来的sprite3D,循环往复, 在谷歌浏览器下内存会涨,模拟器上(雷电或者mumu)内存一直涨。 lh 需要有粒子特效 附件 : --> 2025-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

来源: Laya_社区 发布时间: 20250626

154. 3D模型怎么删除?没回切换页面原来的模型都还在? [ 75%]

...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

155. 使用LayaUnityPlugin插件导出unity对象出错 [ 75%]

...新的插件和unity5.5版本,可以导出成功了; 但是用 Laya.Sprite3D.load 加载 lh 文件,没有加载任何3D模型。 我看了一下 lh 文件,MeshSprite3D 对象在子节点的子节点中,根节点是 Sprite3D 对象;因为unity 中对象有一定的层级关系。 附件...

来源: Laya_社区 发布时间: 20170110

156. 3D中如何获取模型的世界旋转角度,是localRotationEuler,是四元数,是在世界中x,y,z轴上的旋转角度 [ 75%]

...与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: var a:Sprite3D = new Sprite3D();             a.transform.rotation; 2018-09-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 careylwq 相关问题 sprite旋...

来源: Laya_社区 发布时间: 20180823

157. 在模型有刚体的情况下,怎么才能让模型只围绕一个轴进行旋转 [ 75%]

...-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

158. 2.0进入场景UI被模型挡住怎么解决? [ 75%]

...laya.display.Stage,物体没法添加进去也会报错,物体是Laya.Sprite3D的 Daze • 2019-03-06 11:59 提示:能将类型“Sprite3D”分配给类型“Stage”。 类型“Sprite3D”中缺少属性“focus”。 Daze • 2019-03-06 12:34 我改成图3那样还是被挡住了,你...

来源: Laya_社区 发布时间: 20190306

159. Unity导出插件导出的模型中Transform值有误 [ 75%]

...:let colliderItem = this._rootNode.getChildByName("XCD_zhazhiji") as Laya.Sprite3D; console.log(colliderItem.transform.localRotationEuler);得出结果: 附上导出以后ls源文件截图:   另外这个模型有点特殊,这个节点(XCD_zhazhiji)的旋转是影响模型本身旋转的,它的...

来源: Laya_社区 发布时间: 20190320

160. laya.d3.core.light.LightSprite_API3.0 [ 75%]

...tSprite deprecated LightSprite 类用于创建灯光的父类。 Hierarchy Sprite3D LightSprite DirectionLight PointLight SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hi...

来源: Laya3.0_api 发布时间: 20231115