Base class of all kinds of events.
More...
Inherits Ref.
Inherited by EventAcceleration, EventCustom, EventFocus, EventKeyboard, EventMouse, and EventTouch.
|
|
unsigned int | _ID |
| | object id, ScriptSupport need public _ID
|
| |
|
int | _luaID |
| | Lua reference id.
|
| |
|
void * | _scriptObject |
| | scriptObject, support for swift
|
| |
Base class of all kinds of events.
Gets the event type.
- Returns
- The event type.
Gets the event type.
- Returns
- The event type.
Gets the event type.
- Returns
- The event type.
Checks whether the event has been stopped.
- Returns
- True if the event has been stopped.
Checks whether the event has been stopped.
- Returns
- True if the event has been stopped.
Checks whether the event has been stopped.
- Returns
- True if the event has been stopped.
| Node* getCurrentTarget |
( |
| ) |
|
|
inline |
Gets current target of the event.
- Returns
- The target with which the event associates.
- Note
- It onlys be available when the event listener is associated with node. It returns 0 when the listener is associated with fixed priority.
Gets current target of the event.
- Returns
- The target with which the event associates.
- Note
- It onlys be available when the event listener is associated with node. It returns 0 when the listener is associated with fixed priority.
| local getCurrentTarget |
( |
| ) |
|
|
inline |
Gets current target of the event.
- Returns
- The target with which the event associates.
- Note
- It onlys be available when the event listener is associated with node. It returns 0 when the listener is associated with fixed priority.
The documentation for this class was generated from the following file: