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

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

791. Texture.getPixels在手机真机Native环境中会报错 [ 70%]

...     if (window.conch) {                 return this._nativeObj.getImageData(x, y, width, height); //this._nativeObj为空!             }             else {                 return this.getTexturePixels(x, y, width, height);  ...

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

792. [LayaAir3]addComponent(Laya.Rigidbody3D); 报错 [ 69%]

...节点被添加到舞台后     onEnable(): void {         let a = this.owner.getChildByName("Sprite3D") as Laya.Sprite3D;         console.log(a,typeof(a))         let aa = a.addComponent(Laya.Rigidbody3D);     }   报错 TypeError: Cannot read properties of undefined (reading &...

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

793. [LayaAir3]LayaAir3.1.2,用上下左右键,移动元素时,控制台有报错信息 [ 69%]

... 相关问题 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? laya2的Scene默认是文件模式,不会生成场景类了,此时该如...

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

794. oppo A1手机 Mali GPU运行laya 报错问题 [ 69%]

..._bind_texture: Rendering feedback loop detected (texture=62), app behavior is wrong 11-20 16:41:19.878: E/(30973): [Mali]: gles_texture_bind_texture: Rendering feedback loop detected (texture=62), app behavior is wrong   然后我换了laya最简单的demo,就是那个UI的demo,打包试了一...

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

795. 升级到1.78beta版后,包编译错误 [ 69%]

...aceFormat?: number, surfaceType?: number, depthStencilFormat?: number,...' is not assignable to type '(source: any, x: number, y: number, width: number, height: num ber, offsetX?: number, offsetY?: nu...'.       Types of parameters 'mipMap' and 'offsetX' are incompatible.         Type 'number...

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

796. 关于微信小游戏关系链的问题 [ 69%]

...186*****260 赞同来自: Rickshao 、qq771472501  Laya.timer.once(4000,this,function(){ console.log(Browser.window.sharedCanvas)       var rankTexture=new Texture(Browser.window.sharedCanvas);       rankTexture.bitmap.alwaysChange=true; console.log(rankTexture)       LayaUISample...

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

797. laya打包iOS,运行奔溃,构建时候选择的是2.3.0 [ 69%]

...信息是有个alert弹窗,上面的文字: exception info:[TypeError: this._nativeObj.addGlobalValueDefine is not a function.(In "this._nativeObj.addGlobal ValueDefine(modifyType, type, size, defaultData)", "this._nativeObj.addGlobalValueDefine" is undefined)] at line  4664. 附件 : --> 2020-02...

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

798. 修改Lable中text属性报错 [ 69%]

...带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 求问shader中的attribute变量怎么动态修改 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 小游戏项目 加载有中文的json文件 报错 播...

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

799. laya转小游戏后小游戏物理引擎Matter.js找不到 [ 69%]

...戏后,小游戏那边会报错 WAGame.js:3 gameThirdScriptError Matter is not defined ReferenceError: Matter is not defined 是不是到小游戏那边这个JS要自己手动导入 2018-04-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

800. @regClass编译报错! [ 69%]

... to main target Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined ...

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