SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
Baseclass for all system input events. More...
#include <SLInputEvent.h>
Public Types | |
enum | Type { MouseMove , MouseDown , MouseUp , MouseDoubleClick , MouseWheel , Touch2Move , Touch2Down , Touch2Up , KeyDown , KeyUp , Resize , DeviceRotationPYR , DeviceRotationQUAT , CharInput , ScrCapture , NumEvents } |
Public Member Functions | |
SLInputEvent (Type t) | |
Public Attributes | |
enum SLInputEvent::Type | type |
concrete type of the event More... | |
SLint | svIndex |
index of the receiving scene view for this event More... | |
Baseclass for all system input events.
SLProject has it's own internal event queue to guarantee the same input handling accross multiple platforms. Some system's might send system events asynchronously. This is why we provide the SLInputEvent class for all system relevant input events.
Definition at line 24 of file SLInputEvent.h.
enum SLInputEvent::Type |
Enumerator | |
---|---|
MouseMove | |
MouseDown | |
MouseUp | |
MouseDoubleClick | |
MouseWheel | |
Touch2Move | |
Touch2Down | |
Touch2Up | |
KeyDown | |
KeyUp | |
Resize | |
DeviceRotationPYR | |
DeviceRotationQUAT | |
CharInput | |
ScrCapture | |
NumEvents |
Definition at line 27 of file SLInputEvent.h.
|
inline |
Definition at line 48 of file SLInputEvent.h.
SLint SLInputEvent::svIndex |
index of the receiving scene view for this event
Definition at line 46 of file SLInputEvent.h.
enum SLInputEvent::Type SLInputEvent::type |
concrete type of the event