大约有 514 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
Laya3.0_api(272) Laya2.0_api(99) laya_api(88) Laya_社区(24) Laya2.0_文档(20) Laya3.0_文档(10) Laya2.0_示例(1)
...yframeNodeListInheritanceKeyframeNodeList Object KeyframeNodeList 类用于创建KeyframeNode节点队列。 Public Properties PropertyDefined By count : int 获取节点个数。 KeyframeNodeListPublic Methods MethodDefined By KeyframeNodeList() 创建一个 KeyframeNodeList 实例。 Keyf...
来源: Laya2.0_api 发布时间: 20190513
...asspublic class MeshFilterInheritanceMeshFilter Object MeshFilter 类用于创建网格过滤器。 Public Properties PropertyDefined By sharedMesh : Mesh 获取共享网格。 MeshFilterPublic Methods MethodDefined By MeshFilter(owner:RenderableSprite3D) 创建一个新的 MeshFilter 实...
来源: Laya2.0_api 发布时间: 20190513
...el.isStopped) { throw new Error("音效通道创建失败"); } this.setupChannelHandlers(SoundType.Effect, url, channel, completeCallback, loop); return channel; } ...
来源: Laya_社区 发布时间: 20250930
... Globals "laya/d3/core/Gradient" Gradient Class Gradient Gradient 类用于创建颜色渐变。 Hierarchy Gradient Implements IClone Index Constructors constructor Accessors colorAlphaKeysCount colorRGBKeysCount maxColorAlphaKeysCount maxColorRGBKeysCount mode Methods addColorAlpha addColorRGB clon...
来源: Laya3.0_api 发布时间: 20231115
...lean是否启用。EmissionPublic Methods MethodDefined By Emission() 创建一个 Emission 实例。 Emission addBurst(burst:Burst):void 增加粒子爆裂。 Emission clearBurst():void 清空粒子爆裂。 Emission clone():* 克隆。 Emission cloneTo(destObject:*):void 克隆。...
来源: laya_api 发布时间: 20170929
...lean是否启用。EmissionPublic Methods MethodDefined By Emission() 创建一个 Emission 实例。 Emission addBurst(burst:Burst):void 增加粒子爆裂。 Emission clearBurst():void 清空粒子爆裂。 Emission clone():* 克隆。 Emission cloneTo(destObject:*):void 克隆。...
来源: Laya2.0_api 发布时间: 20190513
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
重写X Y在android studio里运行会变成00 1 新建一个工程 2 创建任意一个继承Sprite的对象 比如 XSprite extends Sprite 3 new出这个对象 将对象addChild到TestUI里 this.addChild(xSprite); 4 然后设置xSprite.x = 100; xSprite.y = 200; 5 然后再XSprite这个类里将XY...
来源: Laya_社区 发布时间: 20180226
...ition.constructor Defined in laya/components/AnimatorStateCondition.ts:193 创建trigger比较条件类 Parameters name: string Returns AnimatorStateTriggerCondition Accessors id get id(): number Inherited from AnimatorStateCondition.id Defined in laya/components/AnimatorStateCondition.ts:66 唯一I...
来源: Laya3.0_api 发布时间: 20231115
...ayer ObjectImplements laya.d3.core.IClone AnimatorControllerLayer 类用于创建动画控制器层。 Public Properties PropertyDefined By blendingMode : int 名称。AnimatorControllerLayer defaultState : AnimatorState 获取默认动画状态。 AnimatorControllerLayer defaultWeight : i...
来源: Laya2.0_api 发布时间: 20190513