大约有 7 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0033 秒)
.../utils/WeakObject.ts:66 获取缓存 Parameters key: any kye对象,可被回收 Returns any has has(key: any): boolean Defined in laya/utils/WeakObject.ts:90 是否有缓存 Parameters key: any Returns boolean set set(key: any, value: any): void Defined in laya/utils/WeakObject.ts:49 设置缓存 ...
来源: Laya3.0_api 发布时间: 20231115
...绘制命令。 Parameters Default value recoverCmds: boolean = true 是否回收绘图指令数组,设置为true,则对指令数组进行回收以节省内存开销,建议设置为true进行回收,但如果手动引用了数组,不建议回收 Returns void clipRect clipRect(x: number, y: ...
来源: Laya3.0_api 发布时间: 20231115
...erTexture Defined in laya/d3/core/render/PostProcessRenderContext.ts:29 从回收的RT中选择一个RT 用来节省内存 Parameters width: number height: number colorFormat: RenderTargetFormat depthFormat: RenderTargetFormat Default value mipmap: boolean = false Default value multiSamples: number ...
来源: Laya3.0_api 发布时间: 20231115
...绘制命令。 Parameters Default value recoverCmds: boolean = true 是否回收绘图指令数组,设置为true,则对指令数组进行回收以节省内存开销,建议设置为true进行回收,但如果手动引用了数组,不建议回收 Returns void clipRect clipRect(x: number, y: ...
来源: Laya3.0_api 发布时间: 20231115
...绘制命令。 Parameters Default value recoverCmds: boolean = true 是否回收绘图指令数组,设置为true,则对指令数组进行回收以节省内存开销,建议设置为true进行回收,但如果手动引用了数组,不建议回收 Returns void clipRect clipRect(x: number, y: ...
来源: Laya3.0_api 发布时间: 20231115
...毁等功能 场景被从节点移除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes属性查看还未被销毁的场景列表 Hierarchy Sprite Scene View Index Constructors constructor Properties _extra _ownGraphics _scene _scene...
来源: Laya3.0_api 发布时间: 20231115
...,如果没有设置autoDestroyAtRemoved=true,则资源可能不能被回收,需要自己手动回收 Parameters Default value type: string = null 关闭的原因,会传递给onClosed函数 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/displa...
来源: Laya3.0_api 发布时间: 20231115