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

大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0073 秒)

1221. Animation 使用疑问 [ 74%]

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

1222. laya.d3.core.particleShuriKen.module.SizeOverLifetime [ 74%]

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

1223. laya.d3.core.particleShuriKen.module.SizeOverLifetime [ 74%]

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

1224. laya.d3.component.SimpleSingletonList_API3.0 [ 74%]

...实例。 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

1225. laya.d3.shader.ShaderPass [ 74%]

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

1226. laya.display.cmd.DrawCircleCmd [ 74%]

...Y 轴位置。 DrawCircleCmdPublic Methods  MethodDefined By  recover():void 回收到对象池 DrawCircleCmdPublic Constants ConstantDefined By  ID : String = DrawCircle[static] DrawCircleCmdProperty DetailfillColorpropertypublic var fillColor:* 填充颜色,或者填充绘图的渐变对...

来源: Laya2.0_api 发布时间: 20190513

1227. 移除ANI [ 74%]

移除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

1228. 灯光-聚光 [ 74%]

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

1229. 向TiledMap中的对象层中的矩形框添加精灵,不显示 [ 74%]

...去改变新添加精灵的位置,像这样 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

1230. laya.display.cmd.DrawCurvesCmd [ 74%]

...Y 轴位置。 DrawCurvesCmdPublic Methods  MethodDefined By  recover():void 回收到对象池 DrawCurvesCmdPublic Constants ConstantDefined By  ID : String = DrawCurves[static] DrawCurvesCmdProperty DetaillineColorpropertypublic var lineColor:* 线段颜色,或者填充绘图的渐变对...

来源: Laya2.0_api 发布时间: 20190513