Package | laya.d3.component.animation |
Class | public class UVAnimations |
Inheritance | UVAnimations ![]() ![]() ![]() ![]() |
UVAnimations
类用于创建UV动画组件。
Method | Defined By | ||
---|---|---|---|
创建一个新的 UVAnimations 实例。
| UVAnimations | ||
![]() | event(type:String, data:* = null):Boolean
派发事件。
| EventDispatcher | |
![]() | hasListener(type:String):Boolean
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。
| EventDispatcher | |
![]() | isMouseEvent(type:String):Boolean
检测指定事件类型是否是鼠标事件。
| EventDispatcher | |
![]() | off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher
从 EventDispatcher 对象中删除侦听器。
| EventDispatcher | |
![]() | offAll(type:String = null):EventDispatcher
从 EventDispatcher 对象中删除指定事件类型的所有侦听器。
| EventDispatcher | |
![]() | on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher
使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。
| EventDispatcher | |
![]() | once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher
使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知,此侦听事件响应一次后自动移除。
| EventDispatcher |