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

大约有 698 项符合查询结果, 库内数据总量为 30,937 项。 (搜索耗时: 0.0043 秒)

381. 显卡驱动停止响应,且大概率蓝屏,原来是Handler惹的祸,但原因是什么 [ 51%]

...的话,也是CPU很高,操作窗口卡顿厉害   原因是一个run once = true的Handler,如果再次run就会导致死循环, 代码如下,项目文件我也打包上传了,求原因, 类B的onloaded方法会无限循环执行   testlaya.aspackage { import laya.display.Stage; import...

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

382. laya.media.SoundChannel [ 51%]

...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...

来源: Laya2.0_api 发布时间: 20190513

383. Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug [ 51%]

...); } }  window["test"] = new NewTest(); window["test"].Load(); Laya.timer.once(10*1000, null, window["test"].UnLoad);如题所示,我用demo测试,加载一个json文件,然后延迟10秒钟调用释放资源,在Laya.Loader["loadedMap"]查看,确实已经去掉了。 但是内存并没有...

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

384. laya.d3.webxr.core.WebXRCamera_API3.0 [ 51%]

... _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHierarchy aspectRatio boundFrustum canblitDepth clearColor components cullingMask dept...

来源: Laya3.0_api 发布时间: 20231115

385. 使用官方文档中qrcode生成二维码的代码,打包APP后无效 [ 51%]

... 100 }); var url: string = this.URL; this.qrcode.makeCode(url); Laya.stage.once("click", this, this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); } private clickHandler(): void { var url: string = this.qrcode._oDrawing._elImage.src;//获取,注意这里是...

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

386. Cannot read property '_physicsUpdateList' of null 错误 [ 51%]

...以试下,     先设置物体的active为false,再使用Laya.timer.once调用destroy方法,因为有些组件还在onupdate中,不可以立刻删除 图集的话,可以试下     使用loader.clearRes()来清除缓存。     2019-04-28 0 0 分享 微博 QZONE 微信 为什么被...

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

387. laya.d3.component.animation.SkinAnimations [ 51%]

...AnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class SkinAnimationsInheritanceSkinAnimations KeyframeAnimations Component3D EventDispatcher Object SkinAnimations 类用于创建蒙皮动画组件。 Public Properties Hide Inherited Public Properties Show Inh...

来源: laya_api 发布时间: 20170929

388. 使用mask后,只要调用 Laya.Resource.destroyUnusedResources() 就会引起报错 [ 50%]

...0FF"); window.onblur = function() { console.log("onblur....?"); Laya.timer.once(2000, null, function() { Laya.Resource.destroyUnusedResources(); }); } 当触发了释放资源的函数,会报错如下: laya.webgl.js:5713 Uncaught TypeError: Cannot read property '_targets' of null at WebGLContext...

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

389. laya.d3.core.ParticleRender [ 50%]

...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...

来源: laya_api 发布时间: 20170603

390. laya.d3.core.GlitterRender [ 50%]

...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...

来源: laya_api 发布时间: 20170929