• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 272 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0069 秒)

241. 批量销毁释放内存(TypeScript-3D基础(TS)-LayaAir3D的内存管理) [ 36%]

...e.destroyUnusedResources()`接口统一销毁。 ​ **Tip**:注意需要清理一个的Scene3D或者Sprite3D 相关的资源时,需要销毁(destroy)的不单单是他的本体精灵,克隆的精灵也需要进行销毁。此时`destroyUnusedResources` 方法会自动释放掉所有没有...

来源: Laya2.0_文档 发布时间: 20210715

242. 缓动 · LayaAir3.0文档 · LAYABOX [ 36%]

...x或y轴的缓动距离等目标值设置,以及缓动开始、停止、清理等设置。 3.1 常用API介绍 缓动类 Tween 提供了较多的方法,而我们常用的是两种,分别为from()与to()方法,这两个方法的参数设置完全一样,但效果有所不同,from是从缓...

来源: Laya3.0_文档 发布时间: 20230726

243. UI-RefreshList [ 36%]

...= true; //处理加载ui的位置 if (eventName === "dragTopLimit") { //先清理bottom的状态,避免top计算出错 this.refreshLoading.bottom = NaN; this.refreshLoading.top = distance; //创建模拟数据 var _arr = this.createData(5, "顶部新增的标题"); //加到源数据前面 _arr = _...

来源: Laya2.0_示例 发布时间: 20241001

244. laya.ui.List [ 33%]

...改单元格数据源。 List clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:RenderContext, x:Number, y:Number):void 自定义更新...

来源: laya_api 发布时间: 20170929

245. laya.ui.MoreGame [ 33%]

...于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node close(type:String = null):void 关闭场景 【注意】被关闭的场景,如果没有设置autoDestroyAtRemoved=true,则资源可能不能被回收,需要自...

来源: Laya2.0_api 发布时间: 20190513

246. laya.ui.List [ 33%]

...改单元格数据源。 List clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:Context, x:Number, y:Number):void 自定义更新、呈...

来源: Laya2.0_api 发布时间: 20190513

247. laya.ani.bone.Skeleton [ 32%]

...oid 批量增加子节点 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:RenderContext, x:Number, y:Number):void 自定义更...

来源: laya_api 发布时间: 20170929

248. laya.ani.bone.Skeleton [ 31%]

...于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:Context, x:Number, y:Number):void 自定义更新、呈...

来源: Laya2.0_api 发布时间: 20190513

249. 使用对象池重复使用skeleton报错,请问有解决方案吗?谢谢 [ 30%]

...moveSelf(); removeChildren(); destroy(true); 但引擎本身并没有完全清理干净,可能有脏数据,然后导致Skeleton不能重复使用? menthol • 2018-11-21 16:18 @Milhous:mArmature.destroy(true); 这一句去掉 Milhous • 2018-11-21 16:59 谢谢,可以了。 Milhous • 2018-...

来源: Laya_社区 发布时间: 20181120

250. laya.display.Animation_API3.0 [ 30%]

...ase.clear Defined in laya/display/Animation.ts:254 停止动画播放,并清理对象属性。之后可存入对象池,方便对象复用。 override Returns AnimationBase clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:60...

来源: Laya3.0_api 发布时间: 20231115