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

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

1. Unity资源导出插件 · LayaAir3.0文档 · LAYABOX [ 100%]

...: Unity的相机属性 LayaAir是否支持导出的说明 Clear Flags(清除标志) 支持 (包括:Skybox天空盒(Background背景色)、Solid Color纯色(Background背景色)、Depth only仅深度、Don’t Clear不清除) Projection(投射方式) 支持(包括:Perspect...

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

2. 定时器 · LayaAir3.0文档 · LAYABOX [ 73%]

...ar(); } } } 建议在一个模块功能销毁之前,清理定时器或者清除所有的定时器。 6. 立即执行并删除定时器 Laya.timer.runCallLater:立即执行callLater,执行后删除。定义如下: /** * 立即执行 callLater 。 * @param caller 执行域(this)。 * @param me...

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

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

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

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

4. 3D粒子编辑模块 · LayaAir3.0文档 · LAYABOX [ 66%]

...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_文档 发布时间: 20240117

5. 精灵 · LayaAir3.0文档 · LAYABOX [ 37%]

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

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