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
|
|
local | _ID |
| object id, ScriptSupport need public _ID
|
|
int | _luaID |
| Lua reference id.
|
|
local | _luaID |
| Lua reference id.
|
|
void * | _scriptObject |
| scriptObject, support for swift
|
|
local | _scriptObject |
| scriptObject, support for swift
|
|
bool | _rooted |
| When true, it means that the object was already rooted.
|
|
local | _rooted |
| When true, it means that the object was already rooted.
|
|
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's only 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's only 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's only 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: