Custom event.
More...
Inherits Event.
Inherited by PhysicsContact.
|
enum | Type |
| Type Event type. More...
|
|
unsigned int | _ID |
| object id, ScriptSupport need public _ID
|
|
int | _luaID |
| Lua reference id.
|
|
void * | _scriptObject |
| scriptObject, support for swift
|
|
bool | _rooted |
| When true, it means that the object was already rooted.
|
|
| Event (Type type) |
| Constructor.
|
|
Constructor.
- Parameters
-
eventName | A given name of the custom event. ctor |
void setUserData |
( |
void * |
data | ) |
|
|
inline |
Sets user data.
- Parameters
-
data | The user data pointer, it's a void*. |
void* getUserData |
( |
| ) |
const |
|
inline |
Gets user data.
- Returns
- The user data pointer, it's a void*.
const std::string& getEventName |
( |
| ) |
const |
|
inline |
Gets event name.
- Returns
- The name of the event.
The documentation for this class was generated from the following file: