大约有 1,032 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0057 秒)
Laya_社区(502) Laya3.0_api(280) Laya2.0_api(125) laya_api(99) Laya2.0_文档(12) Laya3.0_文档(9) Laya2.0_示例(4) Laya_示例(1)
...增加! bug demo 写在main.ts 文件里关闭界面时候,调用scene.destroy(),然后调用scene.gc(),然后在打开同一个界面,会导致内存递增。如果只调用一次,发现gc确实有清理内存,但是反复重复以上操作,会导致gpu内存爆炸增长 附件 : --> ...
来源: Laya_社区 发布时间: 20190318
...de bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren par...
来源: Laya3.0_api 发布时间: 20231102
...?不是普通的容器吗?增加了什么功能呢? Dialog和View用destroy和Laya.stage.removeChild有什么区别? 在初始化时候使用canvas 或者WebGL 两种模式对使用引擎有什么区别? 问题状态 最新活动: 2021-01-23 10:16 浏览: 1200 关注: 5 人 smalltigger • 2...
来源: Laya_社区 发布时间: 20180625
...= new Sprite(); b.graphics.drawTexture(texture); a.graphics.clear(true); a.destroy(); a = b; } a.graphics.drawRect(10*i, 10*j, 10, 10, "#ff0000"); count++; } } 2018-11-13 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回...
来源: Laya_社区 发布时间: 20181113
... } } public function DelayDestroy(delay:int):void { this.timerOnce(delay,this,destroy); } public function OnComplete():void { var item:Sprite3D = Laya.loader.getRes(_...
来源: Laya_社区 发布时间: 20180601
...nit(); Laya.stage.addChild(mblv); //销毁自身 //this.removeSelf(); this.destroy(); */ connect(); } } //忘记密码 LoginView.prototype.onLableWjmm = function () { this.dlgs = new TanChuang(); this.dlgs.init(); this.dlgs.setContext("请联系管理员找回密码!"); } return LoginView; }) (Login...
来源: Laya_社区 发布时间: 20170215
...ntFrameIndex : int[read-only] 获取播放器帧数。 KeyframeAnimations destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[read-only] 获取是否...
来源: laya_api 发布时间: 20170603
...; }; //彻底销毁清理一个粒子特效对象 Clean(): void { if (this.destroyed) { return; } this.Recover(); if (this._particle && !this._particle.destroyed) { this._particle.removeSelf(); this._particle.destroy(true); this._particle = null; } this._shuriKenParticle3D = null; this._shur...
来源: Laya3.0_文档 发布时间: 20251010
...; }; //彻底销毁清理一个粒子特效对象 Clean(): void { if (this.destroyed) { return; } this.Recover(); if (this._particle && !this._particle.destroyed) { this._particle.removeSelf(); this._particle.destroy(true); this._particle = null; } this._shuriKenParticle3D = null; this._shur...
来源: Laya3.0_文档 发布时间: 20250104
...4-01 13:48 @Laya_Aaron 我还发现被设置了mask的图片,即使调用destroy内存也不能完全被回收,泄露的也是IndexBuffer2D和VertexBuffer2D,请问此问题解决的如何了?更新最新版本laya1.0引擎是否可以解决? rainysky • 2019-03-06 18:09 @Laya_Aaron 谢谢...
来源: Laya_社区 发布时间: 20190306