大约有 175 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0052 秒)
...该方法返回int类型的所以子物体个数var i :int ; i = this.var.numChildren;//获取子物体个数 //获取单个子物体 this.var.getchildAt("想要拿到的子物体下标int类型")//根据下标获取对应子物体 2018-04-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20180409
...时,可以用个此方法可获取子节点 获取子节点对象数量numChildren 通过调用父节点的numChildren属性,可以获得父节点下一级的所有子节点的数量,可用来遍历所有子节点使用,注意不包括子节点下的子节点 获取父节点对象parent 通...
来源: Laya3.0_文档 发布时间: 20251010
...容相关的链接 提交 1 个回复 w1114367261 赞同来自: Laya.stage.numChildren; 你可以直接获取子物体的数量然后根据数量进行for循环获取name为b的所有物体 Laya.stage.getchildAt(i);//根据下标获取物体 2018-04-16 0 0 分享 微博 QZONE 微信 为什么被折...
来源: Laya_社区 发布时间: 20180416
...系上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中...
来源: Laya2.0_api 发布时间: 20190513
...系上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中...
来源: Laya2.0_api 发布时间: 20190513
...raphics height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scene3D scrollRect skewX skewY stage staticCache texture timer top transform url viewport visible width x y zOrder root Methods _initialize _processActive ad...
来源: Laya3.0_api 发布时间: 20231115
...raphics height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scene3D scrollRect skewX skewY stage staticCache texture timer top transform url viewport visible width x y zOrder root Methods _initialize _processActive ad...
来源: Laya3.0_api 发布时间: 20231115
...系上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[override] [read-only] 子对象数量。 Panel optimizeScrollRect : Boolean 指定是否对使用了 scrollRect 的显示对象进行优化处理。默认为false(不优化)。 当值为ture时:将对此...
来源: laya_api 发布时间: 20170929
...系上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[override] [read-only] 子对象数量。 Panel parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中...
来源: Laya2.0_api 发布时间: 20190513
...系上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中...
来源: Laya2.0_api 发布时间: 20190513