大约有 306 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
Laya_社区(117) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya2.0_文档(7) Laya_示例(6) Laya2.0_示例(3) Laya3.0_文档(2)
...SubImage2D整张image, //实测76*59的image此函数耗时1.2毫秒 if (Render.isConchWebGL) { (xoffset - 1 >= 0) && (gl.texSubImage2DEx(true, WebGLContext.TEXTURE_2D, 0, xoffset - 1, yoffset, WebGLContext.RGBA, WebGLContext.UNSIGNED_BYTE, bitmap)); (xoffset + 1 <= _w) && (g...
来源: Laya_社区 发布时间: 20180417
...每部分代码的用途: //引用各个模块 const style = require("./render/style.js"); const tplFn = require("./render/tplfn.js"); const Layout = require("./engine.js").default; //获取开放数据域画布 let sharedCanvas = wx.getSharedCanvas(); let sharedContext = sharedCanvas.getContext("...
来源: Laya3.0_文档 发布时间: 20251010
...行编辑,设置 Tree 组件的列表渲染项的属性 name 的值为 render。 *注意:此处列表渲染项属性 name 的值必须为 render,否则程序将无法识别。*  (图) ####4. 为 Tree 组件添加滚动条。 从资源面板里选择一个 ...
来源: Laya2.0_文档 发布时间: 20210715
...行编辑,设置 Tree 组件的列表渲染项的属性 name 的值为 render。 *注意:此处列表渲染项属性 name 的值必须为 render,否则程序将无法识别。*  (图) ####4. 为 Tree 组件添加滚动条。 从资源面板里选择一个 ...
来源: Laya2.0_文档 发布时间: 20210714
...属性,报错位置在WebGLContext.__init__ ();中 断点发现 在类Render 的 initRender 方法中 getWebGLContext 总返回null; 附件已上传 附件 : --> wxgame.zip 2022-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20220616
...太麻烦了,我直接找到LayaAirIDE\resources\app\out\vs\layaEditor\renders\editorui2.0这个文件,把__class(HtmlText,'laya.editorUI.HtmlText');这句话改成__class(HtmlText,'laya.editorUI.HtmlText',_super);就没问题了
来源: Laya_社区 发布时间: 20191028
...出问题了,问题代码是BoneSlot.as的 if (currTexture && !Render.isConchApp && currDisplayData.type == 0 && currDisplayData.uvs) { currTexture = currDisplayData.createTexture(currTexture); ...
来源: Laya_社区 发布时间: 20180130
...t column 7: internal error: detected an error in element contentBelow is a rendering of the page up to the first error." (function() { var Stage = Laya.Stage; var Text = Laya.Text; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(200, 300, WebGL); ...
来源: Laya_社区 发布时间: 20171113
...nheritanceList Box Component Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By al...
来源: laya_api 发布时间: 20170929
...map"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式有最大2048大小限制,会额外增加内存开销,不断重绘时开销比较大,但是会减少drawcall,渲染性能最高。 webgl下命令缓存模式只会...
来源: laya_api 发布时间: 20170422