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

# IGameInput::GetTemporalReading (非推奨)

> IGameInput::GetTemporalReading

# IGameInput::GetTemporalReading

> [!WARNING]
>
> **非推奨。** このメソッドは GameInput v1 で削除され、現在の API では利用できません。

指定された時点に補間された入力読み取り値を取得します。

## 構文

```cpp theme={null}
HRESULT GetTemporalReading(
    uint64_t targetTime,
    uint64_t windowSize,
    GameInputKind inputKind,
    IGameInputDevice* device,
    IGameInputReading** reading
);
```

### パラメーター

*targetTime*   \_In\_\
型: uint64\_t

ターゲットのタイムスタンプ (マイクロ秒単位) です。現在時刻を取得するには [IGameInput::GetCurrentTimestamp](https://docs.xbox.com/ja-jp/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrenttimestamp.md) を使用します。

*windowSize*   \_In\_\
型: uint64\_t

`targetTime` を中心とする補間ウィンドウのサイズ (マイクロ秒単位) です。

*inputKind*   \_In\_\
型: [GameInputKind](https://docs.xbox.com/ja-jp/reference/input/gameinput/enums/gameinputkind.md)

取得する入力の種類です。

*device*   \_In\_opt\_\
型: IGameInputDevice\*

結果を特定のデバイスに制限するオプションのフィルターです。

*reading*   \_COM\_Outptr\_\
型: IGameInputReading\*\*

結果として得られる補間済みの読み取り値です。

### 戻り値

型: HRESULT

このメソッドは v0 で実装されなかったため、E\_NOTIMPL を返します。

## 解説

このメソッドは、特定の時点に補間された入力読み取り値を取得するために使用されました。入力を特定のフレーム タイムスタンプに関連付ける必要があるアプリケーションで有用でした。読み取りモデルの簡素化の一環として v1 で削除されました。アプリケーションでは代わりに、[GetCurrentReading](https://docs.xbox.com/ja-jp/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrentreading.md) を使用するか、[GetNextReading](https://docs.xbox.com/ja-jp/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getnextreading.md) / [GetPreviousReading](https://docs.xbox.com/ja-jp/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getpreviousreading.md) を使用して入力ストリームを走査してください。

## バージョン履歴

| バージョン | 変更内容 |
| - | - |
| **v1** | 削除されました。 |
| **v0** | 導入されました。 |

## 関連項目

[非推奨の GameInput API メンバー](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)\
[IGameInput::GetCurrentReading](https://docs.xbox.com/ja-jp/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrentreading.md)\
[IGameInput::GetCurrentTimestamp](https://docs.xbox.com/ja-jp/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrenttimestamp.md)\
[IGameInput](https://docs.xbox.com/ja-jp/reference/input/gameinput/interfaces/igameinput/igameinput.md)


## Related topics

- [IGameInputReading::GetTouchState (非推奨)](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchstate.md)
- [IGameInputReading::GetMotionState (非推奨)](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_getmotionstate.md)
- [IGameInputReading::GetTouchCount (非推奨)](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchcount.md)
- [IGameInputReading::GetUiNavigationState (非推奨)](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_getuinavigationstate.md)
- [IGameInputDevice::GetBatteryState (非推奨)](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getbatterystate.md)
