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

大约有 1,032 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0057 秒)

871. laya2.0调用scene.gc方法,再次加载同一份资源时候,会导致gpu内存不断增加! [ 49%]

...增加! bug demo 写在main.ts 文件里关闭界面时候,调用scene.destroy(),然后调用scene.gc(),然后在打开同一个界面,会导致内存递增。如果只调用一次,发现gc确实有清理内存,但是反复重复以上操作,会导致gpu内存爆炸增长 附件 : --> ...

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

872. laya.ui.WXOpenDataViewer_API3.0 [ 49%]

...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

873. ui设计模式下属性中var,name有何区别? [ 49%]

...?不是普通的容器吗?增加了什么功能呢? Dialog和View用destroy和Laya.stage.removeChild有什么区别? 在初始化时候使用canvas 或者WebGL 两种模式对使用引擎有什么区别? 问题状态 最新活动: 2021-01-23 10:16 浏览: 1200 关注: 5 人 smalltigger • 2...

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

874. 同一个Graphics里面绘制超过20000个矢量rect的情况下,Uncaught Error: IBQuadrangle count(之前发起的问题不知道为什么找不到) [ 49%]

...= 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

875. 3d特效克隆时,在手机会现卡顿情况,特效资源已经提前在加载 [ 49%]

...    }         }                  public function DelayDestroy(delay:int):void {             this.timerOnce(delay,this,destroy);         }                  public function OnComplete():void {             var item:Sprite3D = Laya.loader.getRes(_...

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

876. http无响应 [ 49%]

...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

877. laya.d3.component.animation.CameraAnimations [ 49%]

...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

878. 3D粒子 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...; }; //彻底销毁清理一个粒子特效对象 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

879. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 49%]

...; }; //彻底销毁清理一个粒子特效对象 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

880. 使用mask动画出现内存泄露问题(附重现示例DEMO) [ 49%]

...4-01 13:48 @Laya_Aaron 我还发现被设置了mask的图片,即使调用destroy内存也不能完全被回收,泄露的也是IndexBuffer2D和VertexBuffer2D,请问此问题解决的如何了?更新最新版本laya1.0引擎是否可以解决? rainysky • 2019-03-06 18:09 @Laya_Aaron 谢谢...

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