![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IGyroscopeDevice interface.
To receive data the device must be activated by IAppConfiguration::SetGyroscopeActive().
Get the gyroscope angular velocity around the x-axis.
Number GetAngularVelocityX()
Get the gyroscope angular velocity around the y-axis.
Number GetAngularVelocityY()
Get the gyroscope angular velocity around the z-axis.
Number GetAngularVelocityZ()
Get the gyroscope angular velocity axes.
Murl.Math.Vector GetAngularVelocity()
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.
Murl.Math.Vector GetRawAngularVelocity()