大约有 3,444 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0061 秒)
Laya_社区(2883) Laya2.0_文档(196) Laya3.0_api(130) Laya3.0_文档(104) Laya2.0_api(66) laya_api(61) Laya_示例(2) Laya2.0_示例(2)
...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
...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
...版本用户,那是不是可以删除这个目录以减小本地包体的大小呢。可以的,如果要删除这个目录,把game.json里的`"path"`字段删除即可。这样就可以达到减小包体的目的。但是,我们不建议大家现阶段删除,毕竟低版本的微信普及...
来源: Laya2.0_文档 发布时间: 20210715
...*:修改(添加/减少)Rect组件属性中的数值,改变矩形的大小、颜色、旋转角度等等。  (图13)  (图14) 到此我们通过LayaAirIDE中的组件来绘制矩形就完成了。
来源: Laya2.0_文档 发布时间: 20210715
...// 敌机半径 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
...ted from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存大小。 Returns number defaultTexture get defaultTexture(): BaseTexture Overrides BaseTexture.defaultTexture Defined in laya/resource/RenderTexture2D.ts:63 inheritdoc override Returns BaseTexture depthStencilFormat get dept...
来源: Laya3.0_api 发布时间: 20231115
...原始小图片的位置。一般都是正的,表示裁掉了空白边的大小,如果是负的一般表示加了保护边 offsetY:Number (default = 0) — Y 轴偏移量(可选)。 sourceWidth:Number (default = 0) — 原始宽度,包括被裁剪的透明区域(可选)。 source...
来源: Laya2.0_api 发布时间: 20190513
...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
...,能够让游戏的加载速度提升约300%。效果 资源包体资源大小8.4M,压缩包体4.3MB情况下,: 使用laya-zip下加载多个资源的耗时784毫秒 使用普通资源加载耗时2798毫秒 demo用例 https://github.com/lear315/layazip-demo使用方法Laya 2.x及以下版本 下...
来源: Laya_社区 发布时间: 20230316
...ted from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存大小。 Returns number defaultTexture get defaultTexture(): BaseTexture Overrides BaseTexture.defaultTexture Defined in laya/resource/NativeRenderTexture2D.ts:54 inheritdoc override Returns BaseTexture depthStencilFormat ge...
来源: Laya3.0_api 发布时间: 20231115