大约有 5 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0032 秒)
List物件脱离视线 getCell的问题 我有一个List 裡面物件有20几个 当我往上拖动 使第一行物件完全看不到时 console主控台马上报错: Uncaught TypeError: Cannot read property 'getChildByName' of undefined 当我往回拖动 需要再次访问第一行物件时却能...
来源: Laya_社区 发布时间: 20170828
... 2018-07-30 11:51 不是,都是ide设置好的,我解决了,是通过getcell再获取name值来得到的,不过需要设置repeaty的值。你说的通过var我始终不知道该获取到什么,直接也获取不到子类的var,api也没看到什么方法可以得到var值? Laya_Aaron ...
来源: Laya_社区 发布时间: 20180720
...自身边界信息,从而避免比较消耗性能的计算。2.Sprite getCell(index:int):Box 通过可视单元格索引,获取单元格。 List getChildAt(index:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名...
来源: laya_api 发布时间: 20170929
...矩形显示区域。 注意:计算量较大,尽量少用。 Sprite getCell(index:int):Box 通过可视单元格索引,获取单元格。 List getChildAt(index:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名...
来源: Laya2.0_api 发布时间: 20190513
...oTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getCell getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getItem getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_bottom get_dataSource get_height get_scaleX get_scaleY get...
来源: Laya3.0_api 发布时间: 20231115