大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...n 使用疑问 清理问题 内存没有发生变化 private onBtnClick(): void { this.body = new Laya.Animation(); this.body.y = -100; this.body.interval = 50; this.addChild(this.body); this.body.play(0, true, "hero_fly"); } private body: Laya.Animation; private onBtn2Click(): void { this.body.dest...
来源: Laya_社区 发布时间: 20170615
...rLifetime clone():* 克隆。 SizeOverLifetime cloneTo(destObject:*):void 克隆。 SizeOverLifetimeProperty Detailenbalepropertypublic var enbale:Boolean是否启用sizeproperty size:GradientSize [read-only] 取尺寸。 Implementation public function get size():GradientSizeConstr...
来源: laya_api 发布时间: 20170929
...rLifetime clone():* 克隆。 SizeOverLifetime cloneTo(destObject:*):void 克隆。 SizeOverLifetimeProperty Detailenbalepropertypublic var enbale:Boolean是否启用sizeproperty size:GradientSize [read-only] 取尺寸。 Implementation public function get size():GradientSizeConstr...
来源: Laya2.0_api 发布时间: 20190513
...实例。 Returns SimpleSingletonList Methods clearElement clearElement(): void Defined in laya/d3/component/SimpleSingletonList.ts:52 Returns void Globals "laya/d3/component/SimpleSingletonList" SimpleSingletonList constructor clearElement Legend Object literal Variable Function Type alias Class Cl...
来源: Laya3.0_api 发布时间: 20231102
...arent:ShaderNode, lines:Array, start:int, includefiles:Array, defs:Object):void[override] ShaderPassProperty DetailrenderStatepropertyrenderState:RenderState [read-only] 获取渲染状态。 Implementation public function get renderState():RenderStateConstructor DetailShaderPass()Constru...
来源: Laya2.0_api 发布时间: 20190513
...Y 轴位置。 DrawCircleCmdPublic Methods MethodDefined By recover():void 回收到对象池 DrawCircleCmdPublic Constants ConstantDefined By ID : String = DrawCircle[static] DrawCircleCmdProperty DetailfillColorpropertypublic var fillColor:* 填充颜色,或者填充绘图的渐变对...
来源: Laya2.0_api 发布时间: 20190513
移除ANI private Getclick(e):void{ ani.loadAnimation('./quan.ani');//加载IDE制作的动画 ani.x=e.stageX; ani.y=e.stageY Laya.stage.addChild(ani);//显示动画 } 我在场景中创建了 点击按钮 创建了很多 的ANI 动...
来源: Laya_社区 发布时间: 20191224
....Sprite3D; layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function (): void { var aniSprite3d: Laya.Sprite3D = layaMonkey.getChildAt(0) as Laya.Sprite3D; var animator: Laya.Animator = aniSprite3d.getComponentByType(Laya.Animator) as Laya.Animator; animator.play(null, 1.0, 115, 150); }); Laya.tim...
来源: Laya_示例 发布时间: 20260303
...去改变新添加精灵的位置,像这样 private function createMap():void { tiledMap = new TiledMap(); tiledMap.createMap("tiledMap/orthogonal-test-movelayer.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this,onLoadedMap)); } private var sp:Sprite; p...
来源: Laya_社区 发布时间: 20170525
...Y 轴位置。 DrawCurvesCmdPublic Methods MethodDefined By recover():void 回收到对象池 DrawCurvesCmdPublic Constants ConstantDefined By ID : String = DrawCurves[static] DrawCurvesCmdProperty DetaillineColorpropertypublic var lineColor:* 线段颜色,或者填充绘图的渐变对...
来源: Laya2.0_api 发布时间: 20190513