大约有 514 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
Laya3.0_api(272) Laya2.0_api(99) laya_api(88) Laya_社区(24) Laya2.0_文档(20) Laya3.0_文档(10) Laya2.0_示例(1)
...ted Menu Globals "laya/d3/core/Avatar" Avatar Class Avatar Avatar 类用于创建Avatar。 Hierarchy Resource Avatar Implements IClone Index Constructors constructor Properties destoryedImmediately lock name url uuid AVATAR DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpu...
来源: Laya3.0_api 发布时间: 20231102
...2.在某个特定的状态下激活某系效果。 动画状态脚本可以创建并添加给动画状态,其方式与Sprite3D对象添加脚本非常相似。使用的是动画状态的`addScript` 方法来添加动画状态脚本。 下方的代码来自于官方示例([demo地址](https://lay...
来源: Laya2.0_文档 发布时间: 20210714
...*version :2.7.0beta Update:2020-6-10* ### Config3D相关介绍 该类用于创建3D初始化设置 | 属性 | | 数据类型 | 默认值 | | ------------------- | --------------------------- | ------- | ------- | | isAntialias | 是否开启抗锯齿 | Boolean | true | | isAlpha | 画布是否透明...
来源: Laya2.0_文档 发布时间: 20210715
...*version :2.7.0beta Update:2020-6-10* ### Config3D相关介绍 该类用于创建3D初始化设置 | 属性 | | 数据类型 | 默认值 | | ------------------- | --------------------------- | ------- | ------- | | isAntialias | 是否开启抗锯齿 | Boolean | true | | isAlpha | 画布是否透明...
来源: Laya2.0_文档 发布时间: 20210715
...: string): void Defined in laya/display/Node.ts:67 如果节点从资源中创建,这里记录是他的url Returns string Defined in laya/display/Node.ts:74 设置资源的URL Parameters path: string Returns void Methods _initialize _initialize(): void Defined in laya/display/Node.ts:103 Returns v...
来源: Laya3.0_api 发布时间: 20231115
...: Array<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
...; var imageData = Laya.loader.getRes("res/playerKpiFont.png"); // 左中右创建的3个实例 var bp = new BPFont(jsonData,imageData,600,"left"); var bp1 = new BPFont(jsonData,imageData,600,"center"); var bp2 = new BPFont(jsonData,imageData,600,"right"); bp.padding = bp1.padding = bp2.padding = -7;...
来源: Laya_社区 发布时间: 20161014
...*version :2.7.0beta Update:2020-6-10* ### Config3D相关介绍 该类用于创建3D初始化设置 | 属性 | | 数据类型 | 默认值 | | ------------------- | --------------------------- | ------- | ------- | | isAntialias | 是否开启抗锯齿 | Boolean | true | | isAlpha | 画布是否透明...
来源: Laya2.0_文档 发布时间: 20210714
...nheritanceScene Sprite Node EventDispatcher Object 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes属性查看还未被销毁的场景列表 Public ...
来源: Laya2.0_api 发布时间: 20190513
...tLight LightSprite Sprite3D Node EventDispatcher Object SpotLight 类用于创建聚光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场...
来源: Laya2.0_api 发布时间: 20190513