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

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

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

...acheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的复杂内容,缓存为静态图像,能极大提高渲染性能,cacheAs有”none”,”normal”和”bitmap”三个值可选。 默认为”none”...

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

262. laya.effect.FadeOut_API3.0 [ 39%]

...rited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): void Inherited from Component.onDisable Defined in laya/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns vo...

来源: Laya3.0_api 发布时间: 20231115

263. laya.effect.FadeIn_API3.0 [ 39%]

...rited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): void Inherited from Component.onDisable Defined in laya/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns vo...

来源: Laya3.0_api 发布时间: 20231115

264. 网格像素线 · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

...UnlitMaterial 材质并勾选了使用 VertexColor ,如上面2.3小节中手动添加材质的过程在代码中是自动做好了 /** * 创建一个 <code>PixelLineSprite3D</code> 实例。 * @param maxCount 最大线段数量。 * @param name 名字。 */ constructor(maxCount: number...

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

265. 定时器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

...器 定时器 Laya.Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 同时 Laya.Timer 表示游戏主时针,同时也是管理场景、动画、缓动等效果时钟,通过控制本时钟缩放可以达到快进慢播的效果。 1. ...

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

266. laya.d3.physicscannon.CannonPhysicsComponent_API3.0 [ 37%]

...rited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): void Inherited from Component.onDisable Defined in laya/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns vo...

来源: Laya3.0_api 发布时间: 20231102

267. laya.components.Widget_API3.0 [ 36%]

...rited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): void Inherited from Component.onDisable Defined in laya/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns vo...

来源: Laya3.0_api 发布时间: 20231115

268. 【简单跑酷--JS版】---Lv.4 添加玩家 [ 36%]

...不懂? 看看官方例子先   还是不懂?  没关系 我们自己手动实验一次 怎么打包图集 并且在场景中显示出来 找到layaAir IDE 图集打包   打包路径选择res  这里说明一下: 我们要打包的图集是在res/player这个 目录 所以我们选择res...

来源: Laya_社区 发布时间: 20160801

269. 引擎模块 · LayaAir3.4 · 引擎文档 · LAYABOX [ 36%]

...用某些引擎功能,而未通过 IDE 界面创建对应组件,则需手动勾选相应的引擎模块,以确保相关功能正常生效。 1、2D 模块组 2D 模块组包含 2D 项目开发中常用的引擎功能模块,如图 1-1 所示。开发者可根据项目需求按需勾选。 (...

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

270. laya.d3.component.volume.Volume_API3.0 [ 35%]

...rited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): void Inherited from Component.onDisable Defined in laya/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns vo...

来源: Laya3.0_api 发布时间: 20231115