大约有 510 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0063 秒)
Laya_社区(262) Laya3.0_api(79) Laya2.0_api(73) laya_api(68) Laya2.0_文档(17) Laya3.0_文档(7) Laya_示例(4)
...:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponentByIndex(index:int):Component3...
来源: laya_api 发布时间: 20170929
...event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_bottom get_dataSource get_height get_scaleX get_scaleY get_top get_transform get_visi...
来源: Laya3.0_api 发布时间: 20231115
...报这个错:node._setParent is not a function this.imageBg = this.owner.getChildByName("image_bg"); console.log("this.imageBg==="+this.imageBg); for (let iColumns = 1; iColumns < this.intColumns; iColumns++) { this.arrLove[iColumns] = []; for (let iRows = 1; iRows < this.intRows; iRows++) {...
来源: Laya_社区 发布时间: 20190625
...event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_bottom get_dataSource get_height get_scaleX get_scaleY get_top get_transform get_visi...
来源: Laya3.0_api 发布时间: 20231115
...event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_bottom get_dataSource get_height get_scaleX get_scaleY get_top get_transform get_visi...
来源: Laya3.0_api 发布时间: 20231115
...x 的形式访问这些节点,而无需手动逐层查找节点或通过 getChildByName 方式定位。这种机制极大地提升了 UI 结构的可维护性与脚本编写效率,特别适用于层级复杂的界面开发。 UI 运行时机制的底层实现是通过自定义类继承 UI 组件...
来源: Laya3.0_文档 发布时间: 20251010
...:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例...
来源: Laya2.0_api 发布时间: 20190513
...克隆对象,统计面板的显存和内存就会显示成负数 使用getChildByName()无法得到子节点对象 添加发光滤镜,会导致UI位置偏移 【bug】RigidBody getCenter 影响 applyLinearImpulseToCenter 的正确执行 问题状态 最新活动: 2025-04-18 12:22 浏览: 102...
来源: Laya_社区 发布时间: 20250412
...e.ls")) as Laya.Scene3D; //从场景获取球型精灵 this.sphere = scene.getChildByName("Sphere") as Laya.MeshSprite3D; //获取球型精灵自带的BlinnPhong材质 this.billinMaterial = this.sphere.meshRenderer.material; ``` > 拿到材质之后,我们可以修改材质或者将这个材质给...
来源: Laya2.0_文档 发布时间: 20210715
...3d射线碰撞和UI点击穿透的问题 3D模型无法修改scale? 使用getChildByName()无法得到子节点对象 微信小游戏与加载图片时不会触发erroe事件 问题状态 最新活动: 2020-07-28 17:25 浏览: 677 关注: 5 人 zzhh9857 • 2020-07-28 16:53 只设置了一个也...
来源: Laya_社区 发布时间: 20200728