大约有 569 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0089 秒)
...秒。 例如要打开一个新场景,使用加载页面,那么就先定义一个脚本代码,加入可能拖入loading场景的Laya.Prefab属性,代码如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @pr...
来源: Laya3.0_文档 发布时间: 20251010
...icle/ParticleSetting.ts:17 粒子受发射器速度的敏感度(需在自定义发射器中编码设置) endVelocity endVelocity: number = 1 Defined in laya/particle/ParticleSetting.ts:37 等于1时粒子从出生到消亡保持一致的速度,等于0时粒子消亡时速度为0,大于1时...
来源: Laya3.0_api 发布时间: 20231115
...间中(与父对象一起移动)、在世界空间中还是相对于自定义位置。 Simulation Speed(模拟速度):调整整个系统更新的速度。 Use Unscaled Time(使用未缩放时间):属性有Scaled和Unscaled两个选项,Scaled时粒子系统的运行效率会受到...
来源: Laya3.0_文档 发布时间: 20260122
...ar temp:IA = <IA>item; items.push(temp); } 5.get,set ts里面父类定义的getset,子类必须要全覆盖下,不能只处理get或set,如: class A { protected _id:number = 1; public get id():number { return this._id } public set id(value:number){ this._id = vaule; } ...
来源: Laya_社区 发布时间: 20161109
... in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:1266 设置 自定义 包围盒 Returns Bounds Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:1270 设置 自定义 包围盒 Parameters value: Bounds Returns void destroyed get destroyed(): boolean Inherited from Geomet...
来源: Laya3.0_api 发布时间: 20231115
... in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:1266 设置 自定义 包围盒 Returns Bounds Inherited from ShurikenParticleSystem.customBounds Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:1270 设置 自定义 包围盒 Parameters value: Bounds Returns void destr...
来源: Laya3.0_api 发布时间: 20231115
...的确不常用,但在一些特定场合还是用的上,例如结合自定义shader来使用。 DepthOnly 仅深度 表示着只清除当前渲染之前的全部摄相机缓冲区的深度信息,保留全部摄相机缓冲区的颜色信息。 这个功能非常实用,要想将多个摄像...
来源: Laya3.0_文档 发布时间: 20251010
...开发者可以搭建一个流畅的开发工作流。 当然,VSCode自定义工作流的强大远不止于此,对于工作流的搭建,方式非常多。如果想更加深入了解的,可以不必局限于本篇。本篇仅仅为那些没有VSCode使用经验的开发者,提供一些基...
来源: Laya2.0_文档 发布时间: 20210715
... IDE 的统计配置面板 中,通过勾选或取消勾选的方式,自定义需要显示的统计项,如图 1-2 所示。 (图1-2) 除了 IDE 面板配置外,统计信息面板也支持通过代码进行精确控制。开发者可以通过设置Laya.Stat.elements,指定需要显示的...
来源: Laya3.0_文档 发布时间: 20260128