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

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

121. 1.7.18beta少方法? [ 51%]

...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

122. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 51%]

...每部分代码的用途: //引用各个模块 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

123. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 51%]

...行编辑,设置 Tree 组件的列表渲染项的属性 name 的值为 render。 *注意:此处列表渲染项属性 name 的值必须为 render,否则程序将无法识别。* ​ ![图片0.png](img/10.png) ​ (图) ####4. 为 Tree 组件添加滚动条。 从资源面板里选择一个 ...

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

124. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 51%]

...行编辑,设置 Tree 组件的列表渲染项的属性 name 的值为 render。 *注意:此处列表渲染项属性 name 的值必须为 render,否则程序将无法识别。* ​ ![图片0.png](img/10.png) ​ (图) ####4. 为 Tree 组件添加滚动条。 从资源面板里选择一个 ...

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

125. 2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null [ 50%]

...属性,报错位置在WebGLContext.__init__ ();中 断点发现 在类Render 的 initRender 方法中 getWebGLContext 总返回null;   附件已上传 附件 : --> wxgame.zip 2022-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

126. 创建[HTMLDivElement]时遇到错误(手动实例一次本组件可定位错误) [ 50%]

...太麻烦了,我直接找到LayaAirIDE\resources\app\out\vs\layaEditor\renders\editorui2.0这个文件,把__class(HtmlText,'laya.editorUI.HtmlText');这句话改成__class(HtmlText,'laya.editorUI.HtmlText',_super);就没问题了

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

127. layaAir1.7.16beta版本cavans下spine骨骼动画显示异常,layaAir1.7.14beta还是好的 [ 50%]

...出问题了,问题代码是BoneSlot.as的 if (currTexture && !Render.isConchApp && currDisplayData.type == 0 && currDisplayData.uvs)                     {                         currTexture = currDisplayData.createTexture(currTexture);  ...

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

128. 如何加载一个HTML页面 [ 50%]

...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

129. laya.ui.List [ 50%]

...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

130. laya.d3.core.scene.BaseScene [ 49%]

...map"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式有最大2048大小限制,会额外增加内存开销,不断重绘时开销比较大,但是会减少drawcall,渲染性能最高。 webgl下命令缓存模式只会...

来源: laya_api 发布时间: 20170422