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

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

951. 使用滤镜报错 [ 62%]

...   v.mouseEnabled = true; } 报错日志: TypeError: f.action.setValue is not a function at TextureSV.__proto.setFilters (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:22308:15) at TextureSV.__proto.setValue (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core....

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

952. 微信小游戏的若干问题 [ 62%]

... 这该怎么办   问题3: 编译报错. (unknown) ReferenceError: laya is not defined     at main.min.js? [sm]:1     at require (WAGame.js:11)     at WAGame.js:11     at game.js? [sm]:2     at require (WAGame.js:11)     at gamePage.html:118 window.onerror WAGame.js:11 Uncaught R...

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

953. 射线检测报错,outHitInfo.sprite3D=null; [ 61%]

...aya.Camera; private scene: Laya.Scene;  public _load(owner : any):void{ this.scene = owner; this.camera = this.scene.scene.getChildByName("Main Camera") as Laya.Camera; console.log("当前摄像机的名字是:" + this.camera.name); }  public _start(state:Laya.RenderState):void{ this.ray = new L...

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

954. Cannot read property 'toDefault' of undefined报错是什么原因 [ 61%]

...ne", Laya.Scene); function MousePickingScene() { MousePickingScene.super(this); this.camera = new Laya.Camera(0,0.1,100); this.addChild(this.camera); this.camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; this.skyBox = new Laya.SkyBox(); this.camera.sky = this.skyBox; this.skyBox.textureCube = Laya....

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

955. 试图用官方的sample打apk包,结果打了3天没出,各种报错,无奈只能先弄个hello试试,竟然成功了,然而sample还是不行 [ 61%]

...带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 关于Laya实现Matter.js官方案例凹多边形的问题 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 小游戏项目 加载有中文的json文件 报...

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

956. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 60%]

...内存泄漏。 用的引擎版本是1.7.16beta。package { import laya.display.Sprite; import laya.events.Event; import laya.maths.Point; import laya.resource.HTMLCanvas; import laya.resource.Texture; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGL; public class Main { pr...

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

957. 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' [ 60%]

...带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined ide 2.4 layaair2-cmd 编译报错 用了ByteArray的zlib.min.js后报错 导微信小程序报错window.focus...

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

958. 为何发生此类报错Uncaught TypeError: Cannot read property '_tf' of null [ 60%]

...res/Public@sl4615.mp3",type:laya.net.Loader.SOUND} ],Laya.Handler.create(this,onLoaded));  /*登录界面*/ var resArray=[ {url:"res/LoginView.fui",type:laya.net.Loader.BUFFER}, {url:"res/LoginView@atlas0.png",type:laya.net.Loader.IMAGE} ]; var loadcount=resArray.length; function onLoaded() { conso...

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

959. 提示“AtlasResourceManager:Dispose the inner Atlas。” [ 60%]

提示“AtlasResourceManager:Dispose the inner Atlas。” AtlasResourceManager:Dispose the inner Atlas。 laya.webgl.js:374 >>>>altas garbageCollection =1 laya.webgl.js:372 AtlasResourceManager:Dispose the inner Atlas。 laya.webgl.js:374 >>>>altas garbageCollection =1 lay...

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

960. [LayaAir3]关于drawToRenderTexture2D绘制后图像模糊问题补充 [ 60%]

.... * @param canvasHeight The height of the canvas. * @param offsetX The X-axis offset for drawing. * @param offsetY The Y-axis offset for drawing. * @param rt The render target. * @param isDrawRenderRect A boolean indicating whether to draw the render rectangle. When true, it starts drawing from (0,0...

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