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

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

1. unity导出的3D动画模型,导入 laya环境报错: node._setParent is not a function [ 100%]

...ex = this.getChildIndex(node);                 if (index !== this._children.length - 1) {                     this._children.splice(index, 1);                     this._children.push(node);                     this._childChanged();                 }   ...

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

2. 3D粒子特效第一次卡顿最终解决方案 [ 88%]

...efine,spriteDefine,materialDefine); } } //递归获取子对象 if (model._children) { for (var i: number = 0; i < model._children.length; i++) { this.compileShader(model._children[i]); } } } 2019-04-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

3. 如何在layaair 上使用get方法的xml ,获得节点属性? [ 78%]

.../获取xml中RECORD下的节点 var recordItems:Array = hr.data.firstChild.children[0].children; //获取下标为0的id的节点 var recordId:XmlDom = recordItems[0]; //获取节点中的节点属性 var idStr:String = recordId.textContent; 2016-06-26 0 0 分享 微博 QZONE 微信 cuixueying 赞...

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

4. IOS8.x系统上使用xml节点遍历须知 [ 69%]

...系统上使用xml节点遍历须知 在遍历节点时用childNodes,别用children。要不就会掉坑里,嘿嘿嘿! 2016-08-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来...

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

5. 获取挂点 能不能直接获取到深层子节点 [ 64%]

... 2019-05-24 11:07 一层一层怎么拿 getChildByName 拿不到 断点看_children只有一个值 是不是我这边导出 出了问题 Laya_Aaron • 2019-05-24 15:58 @188*****423:有可能,你需要去看那个lh文件里面的结构 188*****423 • 2019-05-24 16:07 @Laya_Aaron:新版本的导...

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

6. 3D场景中加入lh精灵,再删除后有时会出问题。 [ 55%]

...ls场景中本来的某些精灵不显示了。但是debug看scene3D中的children里的元素还是正确的,那些被移除的精灵确实不在了。而且被移除的精灵的影子确实不显示了,只是这个精灵还显示着,应该是渲染精灵的地方出bug了,请帮忙解决...

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

7. 请问2.0中js怎么加天空盒子或穹顶,官网例子运行报错。 [ 50%]

... 150 _boundFrustum : BoundFrustum _canvasHeight : 750 _canvasWidth : 1334 _children : Array(0) _components : Array(1) _conchData : null _farPlane : 100 _fieldOfView : 60 _id : 1 _isStatic : false _layer : 0 _nearPlane : 0.1 _needProcessCollisions : false _needProcessTriggers : false _normalizedViewp...

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