> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IGameInputReading::GetMotionState

> IGameInputReading::GetMotionState

# IGameInputReading::GetMotionState

<Warning>**사용되지 않음.** 이 메서드는 GameInput v1에서 제거되었으며 현재 API에서 사용할 수 없습니다.</Warning>

판독값에서 모션(가속도계 및 자이로스코프) 상태를 가져옵니다.

## 구문

```cpp theme={null}
bool GetMotionState(
    GameInputMotionState* state
);
```

### 매개변수

*state*   \_Out\_\
형식: [GameInputMotionState](/reference/input/gameinput/deprecated/structs/gameinputmotionstate)\*

모션 데이터로 채울 [GameInputMotionState](/reference/input/gameinput/deprecated/structs/gameinputmotionstate) 구조체에 대한 포인터입니다.

### 반환값

형식: bool

판독값에 모션 상태가 포함되어 있으면 `true`를 반환하고, 그렇지 않으면 `false`를 반환합니다.

## 설명

이 메서드와 관련 [GameInputMotionState](/reference/input/gameinput/deprecated/structs/gameinputmotionstate) 구조체는 v1에서 제거되었습니다. 모션 상태는 가속도계 및 자이로스코프 축을 노출하는 장치에서 사용할 수 있었습니다.

## 버전 기록

| 버전     | 변경 사항    |
| ------ | -------- |
| **v1** | 제거되었습니다. |
| **v0** | 도입되었습니다. |

## 함께 보기

[사용되지 않는 GameInput API 멤버](/reference/input/gameinput/deprecated/gameinput_deprecated_members)\
[GameInputMotionState](/reference/input/gameinput/deprecated/structs/gameinputmotionstate)\
[IGameInputReading](/reference/input/gameinput/interfaces/igameinputreading/igameinputreading)


## Related topics

- [GameInputMotionState](/ko/reference/input/gameinput/deprecated/structs/gameinputmotionstate.md)
- [IGameInputReading::GetGamepadState](/ko/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getgamepadstate.md)
- [IGameInputReading::GetMouseState](/ko/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getmousestate.md)
- [IGameInputReading::GetKeyState](/ko/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getkeystate.md)
- [IGameInputReading::GetTouchState](/ko/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchstate.md)
