Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
AnySDK
Version: 1.0
Version: 1.1
Version: 1.2
Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
event
External module event
事件相关
Index
Enumerations
System
Event
Type
Classes
Acceleration
Block
Input
Events
Component
Event
Event
Acceleration
Event
Handler
Event
Keyboard
Event
Listener
Event
Mouse
Event
Target
Event
Touch
Keyboard
Mouse
System
Event
Touch
Touch
All
AtOnce
Touch
One
ByOne
Interfaces
IEvent
Listener
Create
Info
IEvent
Target
IListener
Mask
ITarget
Impl
Variables
Block
Events
ListenerID
_vec2
acceleration
Listener
fast
Remove
keyboard
Listener
mouse
Listener
system
Event
touch
Listener
Functions
apply
Mixins
stop
Propagation
Variables
Const
Block
Events
Block
Events
:
SystemEventType
[]
= [SystemEventType.TOUCH_START, SystemEventType.TOUCH_END, SystemEventType.TOUCH_MOVE,SystemEventType.MOUSE_DOWN, SystemEventType.MOUSE_MOVE, SystemEventType.MOUSE_UP,SystemEventType.MOUSE_ENTER, SystemEventType.MOUSE_LEAVE, SystemEventType.MOUSE_WHEEL]
Const
ListenerID
ListenerID
:
object
= EventListener.ListenerID
Type declaration
ACCELERATION
:
string
KEYBOARD
:
string
MOUSE
:
string
TOUCH_
ALL_
AT_
ONCE
:
string
TOUCH_
ONE_
BY_
ONE
:
string
Const
_vec2
_vec2
:
Vec2
= new Vec2()
Let
acceleration
Listener
acceleration
Listener
:
EventListener
|
null
= null
Const
fast
Remove
fast
Remove
:
fastRemove
= js.array.fastRemove
Let
keyboard
Listener
keyboard
Listener
:
EventListener
|
null
= null
Let
mouse
Listener
mouse
Listener
:
EventListener
|
null
= null
Const
system
Event
system
Event
:
SystemEvent
= new SystemEvent()
系统事件单例,方便全局使用。
Let
touch
Listener
touch
Listener
:
EventListener
|
null
= null
Functions
apply
Mixins
apply
Mixins
(
derivedCtor
:
any
, baseCtors
:
any
[]
)
:
void
Parameters
derivedCtor:
any
baseCtors:
any
[]
Returns
void
stop
Propagation
stop
Propagation
(
event
:
Event
)
:
void
Parameters
event:
Event
Returns
void
Globals
event
System
Event
Type
Acceleration
Block
Input
Events
Component
Event
Event
Acceleration
Event
Handler
Event
Keyboard
Event
Listener
Event
Mouse
Event
Target
Event
Touch
Keyboard
Mouse
System
Event
Touch
Touch
All
AtOnce
Touch
One
ByOne
IEvent
Listener
Create
Info
IEvent
Target
IListener
Mask
ITarget
Impl
Block
Events
ListenerID
_vec2
acceleration
Listener
fast
Remove
keyboard
Listener
mouse
Listener
system
Event
touch
Listener
apply
Mixins
stop
Propagation
Generated using
TypeDoc
事件相关