Skip to main content

GameInputMotionState

Deprecated. This structure was removed in GameInput v1 and is not available in the current API.
Describes the current accelerometer, gyroscope, and magnetometer state from an input reading.

Syntax

Members

accelerationX, accelerationY, accelerationZ
Type: float
The measured linear acceleration in m/s² along each axis. angularVelocityX, angularVelocityY, angularVelocityZ
Type: float
The measured angular velocity in degrees/s around each axis. magneticFieldX, magneticFieldY, magneticFieldZ
Type: float
The measured magnetic field strength in gauss along each axis.

Remarks

This structure was returned by the deprecated IGameInputReading::GetMotionState method. Both were removed in v1.

Version History

See also

Deprecated GameInput API members IGameInputReading::GetMotionState GameInputMotionInfo
Last modified on August 4, 2026