大约有 622 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0053 秒)
...用等)自动执行相应的方法。 使用示例如下: const { regClass } = Laya; @regClass() export class NewScript extends Laya.Script { //被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也会调用 onAdded(): void { console.log("Game onAdded"); } //组件被...
来源: Laya3.0_文档 发布时间: 20251010
组件装饰器标识的详细说明1、识别组件脚本 @regClass()1.1 代码中如何使用 @regClass()1.2 IDE中如何找到被识别的组件脚本2、识别组件 @property()2.1 组件属性的常规使用2.2 访问器的装饰器使用2.3 是否序列化保存 serializable2.4 是否为私...
来源: Laya3.0_文档 发布时间: 20251010
...ls Only exported Menu Globals "laya/d3/core/light/LightSprite" LightSprite Class LightSprite deprecated LightSprite 类用于创建灯光的父类。 Hierarchy Sprite3D LightSprite DirectionLight PointLight SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFR...
来源: Laya3.0_api 发布时间: 20231115
...ed Externals Only exported Menu Globals "laya/maths/Quaternion" Quaternion Class Quaternion Quaternion 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchR...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationPlayerProperties | Methods | Events Packagelaya.aniClasspublic class AnimationPlayerInheritanceAnimationPlayer EventDispatcher ObjectImplements laya.resource.IDestroy AnimationPlayer 类用于动画播放器。...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames Sprite3DProperties | Methods | Events Packagelaya.d3.coreClasspublic class Sprite3DInheritanceSprite3D ComponentNode Node EventDispatcher ObjectImplements IUpdate, laya.resource.ICreateResource, laya.d3.core.ICloneSubcl...
来源: laya_api 发布时间: 20170929
... Globals "laya/d3/core/material/unlit/UnlitTestMaterial" UnlitTestMaterial Class UnlitTestMaterial Hierarchy Material UnlitTestMaterial Implements IClone Index Constructors constructor Properties destoryedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERQUEUE_ALPHATEST RENDERQUE...
来源: Laya3.0_api 发布时间: 20231102
...nals Only exported Menu Globals "laya/d3/core/light/PointLight" PointLight Class PointLight deprecated PointLight 类用于创建点光。 Hierarchy LightSprite PointLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color ...
来源: Laya3.0_api 发布时间: 20231115
... Externals Only exported Menu Globals "laya/d3/math/Quaternion" Quaternion Class Quaternion Quaternion 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchR...
来源: Laya3.0_api 发布时间: 20231102
...基类,包括创建,播放,暂停,销毁,清理对象池 export class Particle3D extends Sprite3D { private _isInited: boolean = false; private _filePath: string = null; private _particle: Laya.Sprite = null; private _shuriKenParticle3D: Array<ShuriKenParticle3D>= []; private _shurik...
来源: Laya3.0_文档 发布时间: 20251010