大约有 1,795 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0063 秒)
Laya_社区(852) Laya3.0_api(323) Laya2.0_api(248) laya_api(179) Laya2.0_文档(142) Laya3.0_文档(45) Laya2.0_示例(4) Laya_示例(2)
...ructor Defined in laya/d3/core/light/Light.ts:177 创建一个 LightSprite 实例。 Returns Light Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean = true Inherited from Component._si...
来源: Laya3.0_api 发布时间: 20231115
...source.__constructor Defined in laya/components/AnimatorController2D.ts:23 实例化2D动画控制器 Parameters data: any Returns AnimatorController2D Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolea...
来源: Laya3.0_api 发布时间: 20231115
...是默认状态)。 **2.** 在设置 stateMap 之后该材质是逐材质实例提交。即修改了一个材质的渲染状态,仅对自己本身的渲染状态修改。  我们可以看下Blinnphong材质添加 `stateMap` 的代码。 > BLINNPHONG材质初始化 ```typescript var s...
来源: Laya2.0_文档 发布时间: 20210715
...errides Resource.__constructor Defined in laya/resource/AtlasResource.ts:9 实例化体格大图合集资源 Parameters dir: string textures: Array<Texture> frames: Array<Texture> Returns AtlasResource Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Re...
来源: Laya3.0_api 发布时间: 20231115
...d in laya/d3/physics/PhysicsComponent.ts:353 创建一个 PhysicsComponent 实例。 Parameters collisionGroup: number 所属碰撞组。 canCollideWith: number 可产生碰撞的碰撞组。 Returns PhysicsComponent Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra ...
来源: Laya3.0_api 发布时间: 20231115
...ipt标签添加到页面。 `var client = new Laya.Browser.window.Demo1();`实例化js声明的那个类。 `client.start();`调用实例的函数。 编译运行上面的代码。打开谷歌的控制台,可以看到输出: **“我被加载进来了”** **“调用方法”** #### 通过scrip...
来源: Laya2.0_文档 发布时间: 20210714
...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
...是默认状态)。 **2.** 在设置 stateMap 之后该材质是逐材质实例提交。即修改了一个材质的渲染状态,仅对自己本身的渲染状态修改。  我们可以看下Blinnphong材质添加 `stateMap` 的代码。 > BLINNPHONG材质初始化 ```typescript var s...
来源: Laya2.0_文档 发布时间: 20210715
...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
...灵类 MeshTerrainSprite3D 可以从网格创建一个 TerrainMeshSprite3D 实例,来读取高度图的属性。 /** * 从网格创建一个TerrainMeshSprite3D实例、图片读取高度图属性。 * @param mesh 网格。 * @param image 高度图。 * @param name 名字。 * @returns 地形渲染...
来源: Laya3.0_文档 发布时间: 20230303