大约有 474 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0055 秒)
...位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void 加载并显示一个图片。 Graphics restore():RestoreCmd 返回之前保存...
来源: Laya2.0_api 发布时间: 20190513
...omponents/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执...
来源: Laya3.0_api 发布时间: 20231115
...父容器坐标系的矩形显示区域。 注意: 1.计算量较大,尽量少用,如果需要频繁使用,可以通过手动设置 setBounds 来缓存自身边界信息,从而避免比较消耗性能的计算。2.Sprite getChildAt(index:int):Node 根据子节点的索引位置,获取...
来源: laya_api 发布时间: 20170929
...omponents/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执...
来源: Laya3.0_api 发布时间: 20231115
...在父容器坐标系的矩形显示区域。 注意:计算量较大,尽量少用。 Sprite getChildAt(index:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:No...
来源: Laya2.0_api 发布时间: 20190513
...器混合重叠就好了。所以,从节点管理的设计上,就应该尽量避免这样设计。另外。即便是有特别的需求,那就通过节点面板左侧的锁定与隐藏这样的功能去管理。这种需求想来是极少数的,大多数情况下容器之前的布局都不需...
来源: Laya_社区 发布时间: 20230515
...在父容器坐标系的矩形显示区域。 注意:计算量较大,尽量少用。 Sprite getChildAt(index:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:No...
来源: laya_api 发布时间: 20170422
...在父容器坐标系的矩形显示区域。 注意:计算量较大,尽量少用。 Sprite getChildAt(index:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:No...
来源: Laya2.0_api 发布时间: 20190513
...omponents/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执...
来源: Laya3.0_api 发布时间: 20231115
...在父容器坐标系的矩形显示区域。 注意:计算量较大,尽量少用。 Sprite getChildAt(index:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:No...
来源: Laya2.0_api 发布时间: 20190513