Touch event.
More...
Inherits Event.
|
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.
|
|
| Event (Type type) |
| Constructor.
|
|
| Event ( var type) |
| Constructor.
|
|
| Event ( local type) |
| Constructor.
|
|
Get event code.
- Returns
- The code of the event.
Get event code.
- Returns
- The code of the event.
Get event code.
- Returns
- The code of the event.
const std::vector<Touch*>
& getTouches |
( |
| ) |
const |
|
inline |
Get the touches.
- Returns
- The touches of the event.
Get the touches.
- Returns
- The touches of the event.
Get the touches.
- Returns
- The touches of the event.
Set the event code.
- Parameters
-
eventCode | A given EventCode. |
var setEventCode |
( |
var |
eventCode | ) |
|
|
inline |
Set the event code.
- Parameters
-
eventCode | A given EventCode. |
local setEventCode |
( |
local |
eventCode | ) |
|
|
inline |
Set the event code.
- Parameters
-
eventCode | A given EventCode. |
void setTouches |
( |
const std::vector< Touch * > & |
touches | ) |
|
|
inline |
Set the touches.
- Parameters
-
touches | A given touches vector. |
var setTouches |
( |
var |
touches | ) |
|
|
inline |
Set the touches.
- Parameters
-
touches | A given touches vector. |
local setTouches |
( |
local |
touches | ) |
|
|
inline |
Set the touches.
- Parameters
-
touches | A given touches vector. |
The documentation for this class was generated from the following file: