The IGyroscopeDevice interface.
More...
#include <murl_input_i_gyroscope_device.h>
The IGyroscopeDevice interface.
To receive data the device must be activated by IAppConfiguration::SetGyroscopeActive().
◆ GetAngularVelocityX()
virtual Real Murl::Input::IGyroscopeDevice::GetAngularVelocityX |
( |
| ) |
const |
|
pure virtual |
Get the gyroscope angular velocity around the x-axis.
- Returns
- The angular velocity around the x-axis in radians per second.
◆ GetAngularVelocityY()
virtual Real Murl::Input::IGyroscopeDevice::GetAngularVelocityY |
( |
| ) |
const |
|
pure virtual |
Get the gyroscope angular velocity around the y-axis.
- Returns
- The angular velocity around the y-axis in radians per second.
◆ GetAngularVelocityZ()
virtual Real Murl::Input::IGyroscopeDevice::GetAngularVelocityZ |
( |
| ) |
const |
|
pure virtual |
Get the gyroscope angular velocity around the z-axis.
- Returns
- The angular velocity around the z-axis in radians per second.
◆ GetAngularVelocity()
Get the gyroscope angular velocity axes.
- Returns
- The angular velocity axes in radians per second.
◆ GetRawAngularVelocity()
Get the raw gyroscope angular velocity axes.
This method is useful to evaluate the absolute device orientation. All other methods reports the values relative to the current screen axis orientation.
- Returns
- The angular velocity axes in radians per second.
The documentation for this interface was generated from the following file:
- murl_input_i_gyroscope_device.h