大约有 27 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
...ames AnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模...
来源: Laya2.0_api 发布时间: 20190513
...AnimatorStateScript { ... private model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | Laya.AnimatorState2D) { ... this.model = animator.owner as Laya.Sprite3D;//得到Cube节点 } ... /** * 动画状...
来源: Laya3.0_文档 发布时间: 20251010
... 0.9; this.value.y = 35; this.value.visible = true; Main.instance.animator.play("stun"); Laya.Tween.create(this.value).to("y", -30).duration(1000); } } 上述代码中的Main.instance.animator.play("Stun");表示改变动画状态,目的是在减少血量时播放受到攻击的动画。需要在...
来源: Laya3.0_文档 发布时间: 20251010
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/display/Animation" Animation Class Animation Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销...
来源: Laya3.0_api 发布时间: 20231115
...CE_LOST : String = devicelost[static] 显卡设备丢失时触发Event DISPLAY : String = display[static] 定义 display 事件对象的 type 属性值。Event DOUBLE_CLICK : String = doubleclick[static] 定义 doubleclick 事件对象的 type 属性值。Event DRAG_END : String = dragend[static]...
来源: Laya2.0_api 发布时间: 20190513
..._LOST : String = devicelost[static] 显卡设备丢失时触发Event DISPLAY : String = display[static] 定义 display 事件对象的 type 属性值。Event DOUBLE_CLICK : String = doubleclick[static] 定义 doubleclick 事件对象的 type 属性值。Event DRAG_END : String = dragend[sta...
来源: Laya2.0_api 发布时间: 20190513
...CE_LOST : String = devicelost[static] 显卡设备丢失时触发Event DISPLAY : String = display[static] 定义 display 事件对象的 type 属性值。Event DOUBLE_CLICK : String = doubleclick[static] 定义 doubleclick 事件对象的 type 属性值。Event DRAG_END : String = dragend[static]...
来源: laya_api 发布时间: 20170929
..._LOST : String = devicelost[static] 显卡设备丢失时触发Event DISPLAY : String = display[static] 定义 display 事件对象的 type 属性值。Event DOUBLE_CLICK : String = doubleclick[static] 定义 doubleclick 事件对象的 type 属性值。Event DRAG_END : String = dragend[sta...
来源: laya_api 发布时间: 20170929
...t cycleOffset: number = 0 Defined in laya/components/AnimatorState2D.ts:35 play on awake start offset loop loop: number = -1 Defined in laya/components/AnimatorState2D.ts:60 动画循环次数,-1或者小于-1为使用clip的循环状态,1为播放一次,2为播放2次,0为无限循环 name ...
来源: Laya3.0_api 发布时间: 20231115
...tationAll Packages | All Classes | Index | Frames No Frames AnimationPlayerBaseProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationPlayerBaseInheritanceAnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画播...
来源: laya_api 发布时间: 20170929