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

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

201. [LayaAir3]Laya3.x graphics.drawCurves 闪烁的问题 [ 69%]

...0) { throw new Error("At least two points (four numbers) are required, and the total number of values must be even"); } this.points = points; } private static distance(x1: number, y1: number, x2: number, y2: number): number { let dx = x2-x1; let dy = y2-y1; return Math.sqrt(dx*dx+dy*dy); } private g...

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

202. Array buffer allocation failed [ 69%]

...题.. 2019-08-21 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: The maximum heap size you can try is 2048MB - 16MB = 2032MB. Browsers currently don't support allocating anything larger than that. If you are running on a 32-bit browser, a HEAP size of 512MB or 768MB is about the maximum that...

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

203. 打包app出现跨域问题 [ 69%]

...aBox: Error: http://121.41.58.108/etvdata/i ... ponse[] does not belong to the same app domain: http://121.41.58.108/redsky/ 10-30 11:04:06.683 25158-25238/com.etvtech.happystar I/LayaBox: Download [  ]:http://121.41.58.108/etvdata/i ... ponse 10-30 11:04:06.739 25158-25238/com.etvtech.happystar I/...

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

204. LayaDcc找到本地缓存却重新到网上去下载获取的问题 [ 69%]

...于我们的下载是多线程的,日志打印会有时序问题,found the file in the package cache 并不是指 scqp_bg.jpg, 这个文件确实下载失败了,至于为什么会没有缓存,以及为什么下载失败了,你自己看看文档,自己下载一下看看,如果有cdn,...

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

205. Mesh.load()必须加载lm文件吗?lm和lh等有什么区别? [ 69%]

... lm 文件吗?为什么我加载 lh 文件会报错("Offset is outside the bounds of the DataView")!  lm 和 lh 文件有什么区别? (PS:用的是FBXTools 1.46。引擎用的是目前最新版本1.7.5beta) 2017-05-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

206. 2.3.0beta版本,代码有错误还能编译成功 [ 69%]

... false, //Set to false to avoid doing any diagnostic checks on the code                 tsconfigOverride:{compilerOptions:{removeComments: true}}             }), ``` 改为: typescript({                 check: true, //Set to false to av...

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

207. 解析sk资源报错 [ 69%]

...k资源报错 GameDemo.max.js:21170 Uncaught RangeError: Offset is outside the bounds of the DataView   代码: package com.ppt.components.role {     import laya.ani.bone.Skeleton;     import laya.ani.bone.Templet;     import laya.events.Event;          public class CombatRole exte...

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

208. Uncaught RangeError:Array buffer allocation failed [ 69%]

...一下商务,购买技术服务看看,这样可以私信发demo     The maximum heap size you can try is 2048MB - 16MB = 2032MB. Browsers currently don't support allocating anything larger than that. If you are running on a 32-bit browser, a HEAP size of 512MB or 768MB is about the maximum tha...

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

209. cache bitmap size larger than 2048,cache ignored [ 69%]

...um call stack size exceeded 微信游戏多次加载出现:copyFile:fail the maximum size of the file storage limit is exceeded 怎么获取屏幕的size,这个size是包括屏幕的高度和宽度的 微信真机下游戏MAX_TEXTURE_SIZE Maximum call stack size exceeded 异常 cacheAs = "bitmap...

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

210. 3d文字在浏览器能正常运行,打包后使用时会报错 [ 68%]

...texImage2D" on "WebGL2RenderingContext":No function was found that matched the signature provided   在this.texture2D.loadImageSource(this.cav);报错   this.cav = Laya.Browser.createElement("canvas"); this.cav.width = 256; this.cav.height = 256;  var cxt = this.cav.getContext("2d"); cxt.fillStyl...

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