大约有 12 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0029 秒)
...c/Protected All Inherited Externals Only exported Menu Globals "laya/utils/Pool" Pool Class Pool Pool 是对象池类,用于对象的存储、重复使用。 合理使用对象池,可以有效减少对象创建的开销,避免频繁的垃圾回收,从而优化游戏流畅度。 Hierarchy Poo...
来源: Laya3.0_api 发布时间: 20231115
...I DocumentationAll Packages | All Classes | Index | Frames No Frames PoolMethods Packagelaya.utilsClasspublic class PoolInheritancePool Object Pool 是对象池类,用于对象的存贮、重复使用。 合理使用对象池,可以有效减少对象创建的开销,避免频繁的垃圾...
来源: laya_api 发布时间: 20170929
...I DocumentationAll Packages | All Classes | Index | Frames No Frames PoolMethods Packagelaya.utilsClasspublic class PoolInheritancePool Object Pool 是对象池类,用于对象的存储、重复使用。 合理使用对象池,可以有效减少对象创建的开销,避免频繁的垃圾...
来源: Laya2.0_api 发布时间: 20190513
...geUBOUtils Index Properties bindUBO currentlength defaultSubData maxlength pool subDataMap subDataParamMap addStep configStartLength Methods create destroy recover reset updateBindRange updateSubData Properties bindUBO bindUBO: UniformBufferObject Defined in laya/d3/core/TransLargeUBOUtils.ts:11 cur...
来源: Laya3.0_api 发布时间: 20231102
对象池使用一、概述二、对象池 Pool2.1 获得一个对象池2.2 清理一个对象池2.3 从池中获得对象2.4 回收对象到池中2.5 通过类名,获得和回收对象对象池使用 一、概述 在项目开发过程中,有许多对象会不停的创建与移除,比如角...
来源: Laya3.0_文档 发布时间: 20251010
... Constructors constructor Properties _attrs name obj space style text type pool Methods fetchAttributes getAttr getAttrBool getAttrFloat getAttrInt getAttrString reset setAttr getFromPool returnToPool Constructors constructor new HtmlElement(): HtmlElement Defined in laya/html/HtmlElement.ts:28 Retu...
来源: Laya3.0_api 发布时间: 20231115
...I DocumentationAll Packages | All Classes | Index | Frames No Frames PoolCacheProperties | Methods Packagelaya.utilsClasspublic class PoolCacheInheritancePoolCache Object 基于个数的对象缓存管理器 Public Properties PropertyDefined By maxCount : int = 1000 允许缓存的最大...
来源: laya_api 发布时间: 20170422
...e3D; import ShurikenParticleSystem = Laya.ShurikenParticleSystem; import { Pool } from "./Pool"; //粒子特效的基类,包括创建,播放,暂停,销毁,清理对象池 export class Particle3D extends Sprite3D { private _isInited: boolean = false; private _filePath: string = null; privat...
来源: Laya3.0_文档 发布时间: 20251010
...e3D; import ShurikenParticleSystem = Laya.ShurikenParticleSystem; import { Pool } from "./Pool"; //粒子特效的基类,包括创建,播放,暂停,销毁,清理对象池 export class Particle3D extends Sprite3D { private _isInited: boolean = false; private _filePath: string = null; privat...
来源: Laya3.0_文档 发布时间: 20250104
...享 微博 QZONE 微信 月九 赞同来自: let box: Laya.Sprite = Laya.Pool.getItemByCreateFun("dropBox", this.dropBox.create, this.dropBox); 最新版本的引擎,创建预设只有这一个方法吗? 2018-12-14 0 1 分享 微博 QZONE 微信 潮巴巴 赞同来自: http://ask.layabox.com/que...
来源: Laya_社区 发布时间: 20180607