大约有 643 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0051 秒)
...y<any>): Node Defined in laya/resource/HierarchyResource.ts:24 创建实例 Parameters Optional options: Record<string, any> Optional errors: Array<any> Returns Node destroy destroy(): void Inherited from Resource.destroy Defined in laya/resource/Resource.ts:235 销毁资源,销毁...
来源: Laya3.0_api 发布时间: 20231115
...efined in laya/d3/animation/AnimationClip.ts:87 创建一个 AnimationClip 实例。 Returns AnimationClip Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Inherited from Resource.destroyedImmediatel...
来源: Laya3.0_api 发布时间: 20231115
...cs/constraints/ConstraintComponent.ts:182 创建一个 ConstraintComponent 实例。 Parameters constraintType: number Returns ConstraintComponent Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _single...
来源: Laya3.0_api 发布时间: 20231115
...,构建时将会自动拷贝到输出目录 }); 以下是一个完整的实例: @IEditor.panel("TestBuildSettings", { usage: "build-settings", title: "测试" }) export class TestBuildSettings extends IEditor.EditorPanel { @IEditor.onLoad static start() { Editor.typeRegistry.addTypes([ { name: "...
来源: Laya3.0_文档 发布时间: 20241014
... Defined in laya/d3/core/light/PointLightCom.ts:19 创建一个 PointLight 实例。 Returns PointLightCom Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean = true Inherited from Compo...
来源: Laya3.0_api 发布时间: 20231115
...mpl Overrides Prefab.constructor Defined in laya/resource/PrefabImpl.ts:22 实例化一个预制体 Parameters api: IHierarchyParserAPI 层次结构API data: any 数据 version: number 版本 Returns PrefabImpl Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resou...
来源: Laya3.0_api 发布时间: 20231115
...verrides Component.constructor Defined in laya/components/Animator2D.ts:38 实例化2D动画组件 Returns Animator2D Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean = true Inherited...
来源: Laya3.0_api 发布时间: 20231115
... number): Vector4 Defined in laya/maths/Vector4.ts:39 创建一个 Vector4 实例。 Parameters Default value x: number = 0 X轴坐标。 Default value y: number = 0 Y轴坐标。 Default value z: number = 0 Z轴坐标。 Default value w: number = 0 W轴坐标。 Returns Vector4 Properties w w: numb...
来源: Laya3.0_api 发布时间: 20231115
...rce.__constructor Defined in laya/d3/core/Avatar.ts:45 创建一个 Avatar 实例。 Returns Avatar Properties destoryedImmediately destoryedImmediately: boolean Inherited from Resource.destoryedImmediately Defined in laya/resource/Resource.ts:104 是否在引用计数为0的时候立马删除他 Op...
来源: Laya3.0_api 发布时间: 20231102
...lVideo Defined in laya/device/media/HtmlVideo.ts:26 创建一个 HtmlVideo 实例 Returns HtmlVideo Static destroyUnusedResources destroyUnusedResources(): void Inherited from Resource.destroyUnusedResources Defined in laya/resource/Resource.ts:59 销毁当前没有被使用的资源,该函数会忽...
来源: Laya3.0_api 发布时间: 20231102