IGameInputReading::GetMotionState
從讀數取得動作 (加速計和陀螺儀) 狀態。語法
參數
state _Out_類型:GameInputMotionState* 指向 GameInputMotionState 結構的指標,用來填入動作資料。
傳回值
類型:bool 如果讀數包含動作狀態,則傳回true;否則傳回 false。
備註
此方法和相關聯的 GameInputMotionState 結構已在 v1 中移除。動作狀態適用於公開加速計和陀螺儀軸的裝置。版本歷程記錄
另請參閱
已淘汰的 GameInput API 成員GameInputMotionState
IGameInputReading
