SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
SLMouseEvent Class Reference

Specialized SLInput class for all mouse related input events. More...

#include <SLInputEvent.h>

Inheritance diagram for SLMouseEvent:
[legend]

Public Member Functions

 SLMouseEvent (Type t)
 
- Public Member Functions inherited from SLInputEvent
 SLInputEvent (Type t)
 

Public Attributes

SLint x
 
SLint y
 
SLMouseButton button
 
SLKey modifier
 
- Public Attributes inherited from SLInputEvent
enum SLInputEvent::Type type
 concrete type of the event More...
 
SLint svIndex
 index of the receiving scene view for this event More...
 

Additional Inherited Members

- Public Types inherited from SLInputEvent
enum  Type {
  MouseMove , MouseDown , MouseUp , MouseDoubleClick , MouseWheel , Touch2Move ,
  Touch2Down , Touch2Up , KeyDown , KeyUp , Resize , DeviceRotationPYR ,
  DeviceRotationQUAT , CharInput , ScrCapture , NumEvents
}
 

Detailed Description

Specialized SLInput class for all mouse related input events.

Definition at line 53 of file SLInputEvent.h.

Constructor & Destructor Documentation

◆ SLMouseEvent()

SLMouseEvent::SLMouseEvent ( Type  t)
inline

Definition at line 61 of file SLInputEvent.h.

61 : SLInputEvent(t) {}
SLInputEvent(Type t)
Definition: SLInputEvent.h:48

Member Data Documentation

◆ button

SLMouseButton SLMouseEvent::button

Definition at line 58 of file SLInputEvent.h.

◆ modifier

SLKey SLMouseEvent::modifier

Definition at line 59 of file SLInputEvent.h.

◆ x

SLint SLMouseEvent::x

Definition at line 56 of file SLInputEvent.h.

◆ y

SLint SLMouseEvent::y

Definition at line 57 of file SLInputEvent.h.


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