destroy 销毁图层中的粒子纹理
destroy
类型: MethodDeclaration
所属类: ParticleLayer
定义位置: animation.ts
描述
销毁图层中的粒子纹理
返回值
类型: void
源代码
位置: 第 1859 行
public destroy(): void {
if (this.texture instanceof ImageTexture) {
this.texture.destroy()
this.texture = null
}
}
文档生成时间:2026/2/1 16:51:38