SLProject 4.0.000
SLInputEvent Class Reference

Baseclass for all system input events. More...

#include <SLInputEvent.h>

Inheritance diagram for SLInputEvent:
[legend]

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...
 

Detailed Description

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.

Member Enumeration Documentation

◆ Type

Enumerator
MouseMove 
MouseDown 
MouseUp 
MouseDoubleClick 
MouseWheel 
Touch2Move 
Touch2Down 
Touch2Up 
KeyDown 
KeyUp 
Resize 
DeviceRotationPYR 
DeviceRotationQUAT 
CharInput 
ScrCapture 
NumEvents 

Constructor & Destructor Documentation

◆ SLInputEvent()

SLInputEvent::SLInputEvent ( Type  t)
inline

Member Data Documentation

◆ svIndex

SLint SLInputEvent::svIndex

index of the receiving scene view for this event

◆ type

enum SLInputEvent::Type SLInputEvent::type

concrete type of the event


The documentation for this class was generated from the following file: