大约有 3,458 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0097 秒)
Laya_社区(2892) Laya2.0_文档(196) Laya3.0_api(130) Laya3.0_文档(109) Laya2.0_api(66) laya_api(61) Laya_示例(2) Laya2.0_示例(2)
...,能够让游戏的加载速度提升约300%。效果 资源包体资源大小8.4M,压缩包体4.3MB情况下,: 使用laya-zip下加载多个资源的耗时784毫秒 使用普通资源加载耗时2798毫秒 demo用例 https://github.com/lear315/layazip-demo使用方法Laya 2.x及以下版本 下...
来源: Laya_社区 发布时间: 20230316
...d from AnimationBase.viewport Defined in laya/display/Sprite.ts:1828 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将不渲染 s...
来源: Laya3.0_api 发布时间: 20231102
...ted from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存大小。 Returns number defaultTexture get defaultTexture(): BaseTexture Inherited from BaseTexture.defaultTexture Defined in laya/resource/BaseTexture.ts:272 默认贴图 Returns BaseTexture depthStencilFormat get depthSten...
来源: Laya3.0_api 发布时间: 20231115
...ted from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存大小。 Returns number defaultTexture get defaultTexture(): BaseTexture Inherited from BaseTexture.defaultTexture Defined in laya/resource/BaseTexture.ts:272 默认贴图 Returns BaseTexture depthStencilFormat get depthSten...
来源: Laya3.0_api 发布时间: 20231115
...焙文件的压缩,三者功能的效果全都是是用于减少文件的大小尺寸,缩短加载的时长。在5G还没有普及的阶段,该功能还是比较有实际效果的。 在具体效果方面,如下表所示。 | 具体种类 | 作用 | 大概效果 | | ---------------- | ------...
来源: Laya2.0_文档 发布时间: 20210714
...ted from Resource.cpuMemory Defined in laya/resource/Resource.ts:116 内存大小。 Returns number defaultTexture get defaultTexture(): BaseTexture Inherited from BaseTexture.defaultTexture Defined in laya/resource/BaseTexture.ts:219 Returns BaseTexture depthStencilFormat get depthStencilFormat(): ...
来源: Laya3.0_api 发布时间: 20231102
...d from AnimationBase.viewport Defined in laya/display/Sprite.ts:1828 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将不渲染 s...
来源: Laya3.0_api 发布时间: 20231102
...ted from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存大小。 Returns number destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/resource/Resource.ts:138 是否已销毁。 Returns boolean gpuMemory get gpuMemory(): number Inherited from Resour...
来源: Laya3.0_api 发布时间: 20231115
...// 敌机半径 this.radius = [15,30,70]; // 初始化引擎,设置舞台大小 Laya.init(400,852); // 创建循环滚动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(t...
来源: Laya_社区 发布时间: 20170525
...系统也会有一个阻塞时间,大概约1s~2s; 3、simhei.tff文件大小是:4,529,044字节【约4.5M】,下载这样一个文件也需要大概2秒左右; 总结上述流程总共需要花费约5秒,而这5秒系统是没有任何显示的; 只有当simhei.tff加载完成之后,...
来源: Laya_社区 发布时间: 20170320