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

大约有 347 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0049 秒)

161. JavaScript heap out of memory,ide编译不了代码 [ 46%]

...llup\dist\rollup.js 然后cmd 输入下面命令node --max_old_space_size=2048  ide的rollup.js完整目录地址。 就可以解决编译内存溢出的问题。不过,最好先确保自己的项目代码没有出现死循环或其他引起的内存溢出在考虑这个。要不,就算增加...

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

162. Maximum call stack size exceeded [ 45%]

... undefined google 调试的时候一直打印cache bitmap size larger than 2048,cache ignored 问题状态 最新活动: 2020-11-11 14:48 浏览: 1333 关注: 2 人

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

163. discard property,please use transform's property instead [ 45%]

... //生成阴影贴图尺寸         directionLight.shadowResolution = 2048;         //生成阴影贴图数量         directionLight.shadowPSSMCount = 1;         //模糊等级,越大越高,更耗性能         directionLight.shadowPCFType = 3;         Laya.loader.create([ ...

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

164. 官方LayaAir之灯光一节示例背景在微信里表现不一致 [ 44%]

...更耗性能 light.shadowPCFType=1; //投影质量 light.shadowResolution=2048; //创建盒子模型 var box:Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1.5,1.5,1.5))) as Laya.MeshSprite3D; //自身y座标旋转 box.transform.rotate(new Laya.Vector3(0,45,0),true,false);...

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

165. Resources already exist,is repeated loading 加载特效报重复加载 [ 42%]

...生成阴影贴图尺寸         directionLight.shadowResolution = 2048;         //生成阴影贴图数量         directionLight.shadowPSSMCount = 1;         //模糊等级,越大越高,更耗性能         directionLight.shadowPCFType = 3;      //  ...

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

166. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 40%]

...LayaBox: JNI surface innersize changed : g_nInnerWidth=1536,g_nInnerHeight=2048 05-16 15:59:49.171 7562-7577/com.dihong.testdcc I/LayaBox: JNI init dev w=1536,h=2048 05-16 15:59:49.171 7562-7577/com.dihong.testdcc I/LayaBox: OpenGL ES version [OpenGL ES 3.1 334.00] 05-16 15:59:49.171 7562-7577/com.d...

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

167. laya.d3.utils.Physics3DUtils_API3.0 [ 39%]

...SIONFILTERGROUP_CUSTOMFILTER6 COLLISIONFILTERGROUP_CUSTOMFILTER6: number = 2048 Defined in laya/d3/utils/Physics3DUtils.ts:32 自定义过滤6 Static COLLISIONFILTERGROUP_CUSTOMFILTER7 COLLISIONFILTERGROUP_CUSTOMFILTER7: number = 4096 Defined in laya/d3/utils/Physics3DUtils.ts:34 自定义过滤7 St...

来源: Laya3.0_api 发布时间: 20231115

168. 2D性能优化 · LayaAir3.0文档 · LAYABOX [ 38%]

...rget缓存。这里需要注意的是,webGL下renderTarget缓存模式有2048大小限制,超出2048会额外增加内存开销。另外,不断重绘时开销也比较大,但是会减少drawcall,渲染性能最高。 webGL下命令缓存模式只会减少节点遍历及命令组织,不...

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

169. ts加密md5码封装 [ 32%]

...text += String.fromCharCode(c); } else if ((c > 127) && (c < 2048)) { utftext += String.fromCharCode((c >> 6) | 0b11000000); utftext += String.fromCharCode((c & 0b00111111) | 0b10000000); } else { utftext += String.fromCharCode((c >> 12) | 0b11100000); utftext += String...

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

170. laya.ui.Panel [ 30%]

...额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减少drawcall数,性能中等。优...

来源: laya_api 发布时间: 20170929