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

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

51. 在一个页面多放几个iframe,里面使用引擎,一般3-4个就报错了 [ 56%]

...一般3-4个就报错了 Uncaught DOMException: Failed to construct 'AudioContext': The number of hardware contexts provided (6) is greater than or equal to the maximum bound (6). at Function.<anonymous> (<anonymous>:10787:310) at Function.get (<anonymous>:168:66) at Function.WebAu...

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

52. graphics绘制报错 [ 56%]

...9 11:32 浏览: 1818 关注: 2 人 @DT_ • 2019-08-29 11:42 laya.resource.Context的drawTriangles方法 陆仁毅 • 2019-08-29 11:44 @@DT_:是的

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

53. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 56%]

...(filepath, None, replacecontent, backuporiginalfile=False, pos=pos) def getcontextbyprobe(filepath,startprobe, endprobe,startoffset=0 , endoffset=0 , backuporiginalfile=True): """ :param filepath: 接收要修改文档的路径 :param startprobe: 获取文本内容的起始探针 :param endprobe: ...

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

54. laya.display.Sprite [ 55%]

...前容器是否包含指定的 Node 节点对象 。 Node  customRender(context:Context, x:Number, y:Number):void 自定义更新、呈现显示对象。一般用来扩展渲染模式,请合理使用,可能会导致在加速器上无法渲染。 注意不要在此函数内增加或删除树节...

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

55. [LayaAir3]Laya3.3发布支付宝小游戏报错 [ 54%]

...r.onTBMiniGame && !t.PAL.g.isIDE) { let e = t.LayaGL.renderEngine._context; e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL, !1); } }也就是t.LayaGL.renderEngine不存在 附件 : --> 2025-06-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

56. 底层渲染报错,原因未知,偶现 [ 54%]

...因未知,偶现 TypeError: Cannot read property '_getSource' of null at Context.drawTriangles (laya.core-56a0e.js:1:260080) at DrawTrianglesCmd.run (laya.core-56a0e.js:1:288118 at Graphics._renderAll (laya.core-56a0e.js:1:300421) at RenderSprite.transform_drawLayaGL [as _fun] (laya.core-56a0e.js:...

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

57. Sprite 设置 cacheAs = "bitmap"报错 [ 53%]

...s = "bitmap"报错 版本:2.0.0 beta5.1 TypeError: Cannot read property 'context' of nullpreload.js:55     at WebGLContext2D.__proto.drawCanvas (/***/bin/libs/laya.webgl.js:12261:18)     at RenderSprite3D.__proto._canvas (/***/bin/libs/laya.core.js:8717:12)     at RenderSprite3D.RenderSpr...

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

58. laya.particle.Particle2D [ 53%]

...前容器是否包含指定的 Node 节点对象 。 Node  customRender(context:RenderContext, x:Number, y:Number):void[override] Particle2D  destroy(destroyChild:Boolean = true):void[override] Particle2D destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node drawToCanvas...

来源: laya_api 发布时间: 20170929

59. 分享一个Shader版的CoolDown实现 [ 52%]

...     super(vs, ps, "coolDownShader");         }     } import WebGLContext = laya.webgl.WebGLContext;     import Value2D = laya.webgl.shader.d2.value.Value2D;     import CONST3D2D = laya.webgl.utils.CONST3D2D;     export class coolDownShaderValue extends Value2D {         public tex...

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

60. 怎么才能像HTML5中那样直接操作Canvas [ 51%]

...画出来的矩形和文本var canvas:HTMLCanvas = Browser.canvas; var ctx:Context = canvas.getContext(); ctx.fillStyle = "red"; ctx.fillRect(120, 10, 150, 150,"red"); ctx.fillText("texttt",100,100,"","#ffffff","center"); console.log("draw complete"); 2017-05-02 添加评论 免费帖 --> 分享 微...

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