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

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

1. 使用3D摄像机 · LayaAir3.4 · 引擎文档 · LAYABOX [ 100%]

...on4.1 Perspective 透视模式4.2 Orthographic 正交模式五、Render5.1 清除标志5.2 高动态光照渲染5.3 抗锯齿5.4 剔除遮罩六、Output6.1 视图矩形6.2 深度贴图6.3 目标纹理6.4 其它七、通过代码使用摄像机7.1 如何从摄像机创建一条射线7.2 可视遮罩...

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

2. 2D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 77%]

...为null,垃圾回收器将扫描无法被访问到的对象,并将其清除,这会比引用计数更消耗性能。 1.3 资源卸载 游戏运行时总会加载许多资源,这些资源在使用完成后应及时卸载,否则一直残留在内存中。 下例演示加载资源后对比资...

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

3. 精灵 · LayaAir3.4 · 引擎文档 · LAYABOX [ 74%]

...exture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 * 等同于graphics.clear();graphics.drawImage(),但性能更高 * 还可以赋值一个图片地址,则会自动加载图片,然后显示 */ get texture(): Texture; set texture(value: Texture); 我们...

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

4. HTTP通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 68%]

....text = `当前下载进度: ${progress.toFixed(2)}%\n`; // 加载完成后清除进度事件帧监听 if (progress == 100) { this.logger.text = `当前下载进度: 100%\n`; Laya.timer.clear(this, this.onHttpRequestProgress); console.log("加载进度完成,清除进度事件帧听"); } } /** * ...

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

5. 3D粒子 · LayaAir3.4 · 引擎文档 · LAYABOX [ 64%]

...ited = false; this.destroy(true); }; //通过传入粒子特效的路径,清除缓冲池 static ClearPool(root_path: string): void { if (root_path == null) { root_path = ""; } Pool.getInstance().ClearGroup("Particle3D@" + root_path, this, function(particle_3d:Particle3D) { particle_3d.Clean(); });...

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

6. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 64%]

...ited = false; this.destroy(true); }; //通过传入粒子特效的路径,清除缓冲池 static ClearPool(root_path: string): void { if (root_path == null) { root_path = ""; } Pool.getInstance().ClearGroup("Particle3D@" + root_path, this, function(particle_3d:Particle3D) { particle_3d.Clean(); });...

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