Skip to main content

GameInputMotionInfo

已弃用。 此结构已在 GameInput v1 中移除,当前 API 中不再提供。
描述支持运动的输入设备的可测量运动属性。

语法

成员

maxAcceleration
类型:float
可测量的最大线性加速度(单位:m/s²)。 maxAngularVelocity
类型:float
可测量的最大角速度(单位:度/秒)。 maxMagneticFieldStrength
类型:float
可测量的最大磁场强度(单位:高斯)。

备注

此结构曾出现在 v0 GameInputDeviceInfomotionInfo 字段中。它与所有运动相关成员一同在 v1 中被移除。当前的 GameInputDeviceInfo 中没有对应的字段。

版本历史

另请参阅

已弃用的 GameInput API 成员 GameInputMotionState
最后修改于 2026年8月13日