大约有 196 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0043 秒)
Laya3.0_api(79) Laya_社区(64) Laya2.0_文档(17) Laya2.0_api(15) laya_api(14) Laya_示例(4) Laya3.0_文档(3)
... { let floor1:Laya.Sprite3D = this.scene.getChildByName("floor"+floor+i) as Laya.Sprite3D; if(floor1) { floor1.destroy(); c...
来源: Laya_社区 发布时间: 20180514
...擎bug 百分百 复现 1.7.20beta有bug,帧属性面板打不开 使用getChildByName()无法得到子节点对象 tree mouseHandler 怎么获取条目 分享:LayaAir下如何获取图集下的小图资源? 问题状态 最新活动: 2020-01-08 21:34 浏览: 1795 关注: 3 人 Laya_Aaron ...
来源: Laya_社区 发布时间: 20200107
...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeAllLayers removeChild removeChildAt re...
来源: Laya3.0_api 发布时间: 20231115
...:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例...
来源: Laya2.0_api 发布时间: 20190513
...结果一直是-1 相关代码:const field: Laya.MeshSprite3D = this.scene.getChildByName("stadium").getChildByName("field") as Laya.MeshSprite3D;//拿到地板 const sprite3d1MeshCollider: Laya.MeshCollider = field.addComponent(Laya.MeshCollider) as Laya.MeshCollider; sprite3d1MeshCollider.mesh = f...
来源: Laya_社区 发布时间: 20180316
...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName ...
来源: Laya3.0_api 发布时间: 20231115
...正常,发布到移动端不显示模型,但是顶点数面数都有 使用getChildByName()无法得到子节点对象 问题状态 最新活动: 2019-06-21 11:13 浏览: 2592 关注: 4 人 maoxiaolu • 2019-06-21 13:48 好哒。我去试试
来源: Laya_社区 发布时间: 20190618
...:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponentByIndex(index:int):Component3...
来源: laya_api 发布时间: 20170929
...unction(sender:Sprite3D):void { var ms:MeshSprite3D = _disObj3d.getChildByName("mod_CiKeZhuangBei_Body_03") as MeshSprite3D; if(ms) { trace("length " + ms.meshRender.sharedMaterials.length); } } 输出: length 0 2017-01-01 添加评...
来源: Laya_社区 发布时间: 20170101
...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName ...
来源: Laya3.0_api 发布时间: 20231115