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

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

31. worker.js 使用问题 [ 77%]

...后报错如下Uncaught TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided.     at Texture2D.__proto._createWebGlTexture (laya.d3.js:33519)     at Texture2D.__proto.recreateResource (laya.d3.js:33562)     at Texture2D...

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

32. 微信web页面贴图无法加载 [ 76%]

...: glGenerateMipmap: Can not generate mips [.Offscreen-For-WebGL-0x61872800]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering. WebGL: too many errors, no more errors will be reported to the console for this context. 但...

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

33. 调用texture.getPixels的时候会导致闪屏 [ 75%]

...致闪屏。调式发现是RunDriver.getTexturePixels这个函数里的 (Render.context.ctx as WebGLContext2D).clear();这句代码引起的闪屏。如果注释掉这这个函数就不会出现闪屏。 2017-10-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

34. Sprite3D支持的Unity导出列表(TypeScript-3D基础(TS)-LayaAir3D之Unity插件使用) [ 75%]

...r ![Mesh Filter](./img/components/Inspector-MeshFilter.png) 1. Mesh - Mesh Renderer ![Mesh Renderer](./img/components/class-MeshRenderer-0.png) 1. Materials - Size - Element 2. Lightmap Static - Lightmaps - Baked Lightmap - Lightmap Index - Tiling X - Tiling Y - Offset X - Offset Y - Skinned Mesh Re...

来源: Laya2.0_文档 发布时间: 20200822

35. 关于微信小游戏的开放数据域,请问如何将开放数据域的canvas绘制到layaair的image上? [ 74%]

...er.context.drawImage(wxMgr.getOpenDataCanvas(), 0, 0); // console.log(laya.renders.RenderContext); // laya.renders.RenderContext.ctx.drawImage(wxMgr.getOpenDataCanvas(), 0, 0); 2018-04-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

36. oppo CanvasRenderingContext2D 并没有实现 drawImage;报错; [ 74%]

oppo CanvasRenderingContext2D 并没有实现 drawImage;报错;   引擎版本:2.0.1   可以用什么代替呢? 引擎代码: /** *通过图片源填充纹理,可为HTMLImageElement、HTMLCanvasElement、HTMLVideoElement、ImageBitmap、ImageData, *设置之后纹理宽高可能会发生...

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

37. 关于打包App后Texture.getPixels此方法不能使用 [ 74%]

...tPixels(x:Number, y:Number, width:Number, height:Number):Array {     if (Render.isWebGL) {        return RunDriver.getTexturePixels(this, x, y, width, height);     } else {       Browser.canvas.size(width, height);       Browser.canvas.clear();       Browser.context.drawTexture(this...

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

38. Image偶尔显示不了 [ 73%]

...itmap._sp._bit ==70, bottom._bitmap.source == "undefined " bottom._bitmap._render == f _renderEmpty{};   其他正常显示的button内存如下: bottom._bit = 70 bottom._bitmap._sp._bit ==70 或 bottom._bitmap._sp._bit ==214, bottom._bitmap.source == Texture{...} bottom._bitmap._render == f _r...

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

39. matter.js的长度宽度什么的和laya的x,y,width,height就不在一个体系,怎么玩? [ 72%]

...和laya的x,y,width,height就不在一个体系,怎么玩? 我用 render: { sprite: { texture: "../src/view/0.png", } }, 位置都不一样 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aa...

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

40. CommandBuffer · LayaAir3.4 · 引擎文档 · LAYABOX [ 72%]

...代码接口如下: var buf:CommandBuffer = new CommandBuffer();buf.setRenderTarget(renderTexture);buf.drawRender(renders[i],materials[i],0); 2.需要将CBuffer绑定到Camera的渲染事件中,目前laya支持的Camera事件如下: BeforeForwardOpaque = 0,//在渲染非透明物体之前Befor...

来源: Laya3.0_文档 发布时间: 20251010