![]() |
Murl Engine API
Version 2018.3
|
The IMotionDevice interface. More...
#include <murl_input_i_motion_device.h>
The IMotionDevice interface.
Public Member Functions | |
virtual Bool | IsShaken () const =0 |
Check if the device is shaken. More... | |
virtual Bool | WasShaken () const =0 |
Check if the device was shaken in the most recent tick. More... | |
![]() | |
virtual const String & | GetName () const =0 |
Get the device name. More... | |
virtual UInt32 | GetId () const =0 |
Get the unique device identifier. More... | |
virtual Bool | HasUpdate () const =0 |
Check if the device has received new data since the last Update(). More... | |
virtual void | LogicUpdate ()=0 |
Is executed in the logic thread context each logic tick. | |
virtual void | ConfigChanged (const IAppConfiguration *appConfig)=0 |
Notification of changed configuration. More... | |
|
pure virtual |
Check if the device is shaken.
|
pure virtual |
Check if the device was shaken in the most recent tick.