大约有 3,444 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0072 秒)
Laya_社区(2883) Laya2.0_文档(196) Laya3.0_api(130) Laya3.0_文档(104) Laya2.0_api(66) laya_api(61) Laya_示例(2) Laya2.0_示例(2)
...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
...** * 微信数据开放域控件 * 使用:设置好控件大小、坐标及viewName即可,其它的无需管理(可在ui里拖入并设置好) * 注:该控件跟开放域的代码是配套的,不同开放域代码请勿使用该类 */ export class WX...
来源: Laya_社区 发布时间: 20181114