大约有 237 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0043 秒)
...的链接 提交 1 个回复 Laya_XS 赞同来自: 你可以通过对象的numChildren获取,对象里的子元素个数,然后就可以获取相关的子对象了。 2017-11-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 a1005945...
来源: Laya_社区 发布时间: 20171110
... destroyed displayedInStage hideFlags id is3D layer lineCount maxLineCount numChildren parent pixelLineRenderer scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLine addLines bubbleEvent callLater clear clearTimer clone...
来源: Laya3.0_api 发布时间: 20231115
...容相关的链接 提交 1 个回复 w1114367261 赞同来自: Laya.stage.numChildren; 你可以直接获取子物体的数量然后根据数量进行for循环获取name为b的所有物体 Laya.stage.getchildAt(i);//根据下标获取物体 2018-04-16 0 0 分享 微博 QZONE 微信 为什么被折...
来源: Laya_社区 发布时间: 20180416
...t(i).zOrder=100-i; }; last_one() function last_one(){ var n=game.box.numChildren; game.box.removeChildAt(n-1); }; //默认zOrder最大的为第一个; 2018-03-05 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...
来源: Laya_社区 发布时间: 20180305
...: Laya.Node, set: boolean) { for (var i = 0; i < node.numChildren; i++) { let sprite = node.getChildAt(i) as Laya.Sprite; if (sprite) { //if (sprite instanceof Laya.Text) { ...
来源: Laya_社区 发布时间: 20170717
...该方法返回int类型的所以子物体个数var i :int ; i = this.var.numChildren;//获取子物体个数 //获取单个子物体 this.var.getchildAt("想要拿到的子物体下标int类型")//根据下标获取对应子物体 2018-04-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20180409
...ideFlags id is3D layer maxlocalYDistance msaa nearPlane normalizedViewport numChildren opaquePass orthographic orthographicVerticalSize parent postProcess projectionMatrix projectionViewMatrix renderTarget renderingOrder scene skyRenderer timer transform url viewMatrix viewport _updateMark Methods _...
来源: Laya3.0_api 发布时间: 20231115
...ideFlags id is3D layer maxlocalYDistance msaa nearPlane normalizedViewport numChildren opaquePass orthographic orthographicVerticalSize parent postProcess projectionMatrix projectionViewMatrix renderingOrder scene skyRenderer timer transform url viewMatrix viewport _updateMark Methods _applyCommandB...
来源: Laya3.0_api 发布时间: 20231115
...系上的 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[override] [read-only] 子对象数量。 Panel optimizeScrollRect : Boolean 指定是否对使用了 scrollRect 的显示对象进行优化处理。默认为false(不优化)。 当值为ture时:将对此...
来源: laya_api 发布时间: 20170929