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

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

561. laya.resource.Prefab_API3.0 [ 49%]

...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

562. laya.d3.animation.AnimationClip_API3.0 [ 49%]

...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

563. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 49%]

...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

564. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 49%]

...,构建时将会自动拷贝到输出目录 }); 以下是一个完整的实例: @IEditor.panel("TestBuildSettings", { usage: "build-settings", title: "测试" }) export class TestBuildSettings extends IEditor.EditorPanel { @IEditor.onLoad static start() { Editor.typeRegistry.addTypes([ { name: "...

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

565. laya.d3.core.light.PointLightCom_API3.0 [ 49%]

... 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

566. laya.resource.PrefabImpl_API3.0 [ 49%]

...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

567. laya.components.Animator2D_API3.0 [ 49%]

...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

568. laya.maths.Vector4_API3.0 [ 49%]

... 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

569. laya.d3.core.Avatar_API3.0 [ 49%]

...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

570. laya.device.media.HtmlVideo_API3.0 [ 48%]

...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