![]() |
Murl Engine API
Version 2018.3
|
The IRumbleControl interface. More...
#include <murl_i_rumble_control.h>
The IRumbleControl interface.
Public Member Functions | |
virtual void | Rumble (Float duration=0.5)=0 |
Trigger a rumble. More... | |
![]() | |
virtual const String & | GetName () const =0 |
Get the controlable's name. More... | |
virtual void | FrameUpdate ()=0 |
Is executed in the platform thread context each frame tick. | |
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 |
Trigger a rumble.
Note: Several devices do not support selecting a duration. In such a case the device rumbles it's pre-defined duration.
duration | Duration of the rumble in seconds. |