大约有 225 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0036 秒)
...age=new Image(); img.loadImage('comp/image.png'); this.addChildAt(img,this.numChildren-2); 如果是同级下的显示对象,通过zOrder、addChildAt、setChildIndex都可以 2017-01-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...
来源: Laya_社区 发布时间: 20170112
...错。 添加方法:this.m_MainScene.addChildAt(sc, this.m_MainScene.numChildren - 1); 移除方法:this.m_MainScene.removeChild(sc); 附件 : --> 2019-01-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20190112
...时,可以用个此方法可获取子节点 获取子节点对象数量numChildren 通过调用父节点的numChildren属性,可以获得父节点下一级的所有子节点的数量,可用来遍历所有子节点使用,注意不包括子节点下的子节点 获取父节点对象parent 通...
来源: Laya3.0_文档 发布时间: 20251010
...eInHierarchy components destroyed displayedInStage hideFlags id is3D layer numChildren parent scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event f...
来源: Laya3.0_api 发布时间: 20231115
...否在显示列表中显示。Node name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node父节点。Node timer : Timer时间控制器,默认为Laya.timer。NodePublic Methods Hide Inherited Public Methods Show Inherited Public Methods Meth...
来源: laya_api 发布时间: 20170929
...ive activeInHierarchy components destroyed displayedInStage hideFlags is3D numChildren parent scene timer url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains destroy destroyChildren event frameLoop frameOn...
来源: Laya3.0_api 发布时间: 20231115
...成白色 Laya.Scene.root.addChildAt(this.simpleTips, Laya.Scene.root.numChildren - 1); 附件 : --> 2025-06-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 layabox 赞同来自: 找到问题了。图中...
来源: Laya_社区 发布时间: 20250612
...ts destroyed displayedInStage hideFlags id importance intensity is3D layer numChildren parent probePosition reflectionTexture scene timer transform url Methods _getIndexInReflectionList _initialize _processActive _setIndexInReflectionList addChild addChildAt addChildren addComponent addComponentInst...
来源: Laya3.0_api 发布时间: 20231102
... hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResolution shadowStrength timer transform url Methods _initialize _processActive addChild addChildAt addChildren addCom...
来源: Laya3.0_api 发布时间: 20231115
... hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResolution shadowStrength timer transform url Methods _initialize _processActive addChild addChildAt addChildren ...
来源: Laya3.0_api 发布时间: 20231115