> ## 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.

# GetParams

> IGameInputForceFeedbackEffect::GetParams

# IGameInputForceFeedbackEffect::GetParams

擷取定義力回饋效果的參數。

## 語法

```cpp theme={null}
void GetParams(
    GameInputForceFeedbackParams* params
);
```

### 參數

*params*   \_Out\_\
類型：[GameInputForceFeedbackParams\*](https://docs.xbox.com/zh-TW/reference/input/gameinput/structs/gameinputforcefeedbackparams.md)

定義力回饋效果的參數。

### 傳回值

類型：void

無傳回值。

## 備註

每個 `IGameInputForceFeedbackEffect` 執行個體都會擷取有關效果的一組通用資訊。效果所指派的參數可透過 `GetParams` 方法取得。如需詳細資訊，請參閱[進階 GameInput 主題](https://docs.xbox.com/zh-TW/build/core-features/common/input/advanced/input-advanced-topics.md)。

## 需求

**標頭：** GameInput.h

**程式庫：** xgameruntime.lib

**支援的平台：** Windows、XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[GameInput 概觀](https://docs.xbox.com/zh-TW/build/core-features/common/input/overviews/input-overview.md)\
[IGameInputForceFeedbackEffect](https://docs.xbox.com/zh-TW/reference/input/gameinput/interfaces/igameinputforcefeedbackeffect/igameinputforcefeedbackeffect.md)

## 版本歷程記錄

| 版本 | 變更 |
| - | - |
| **v0** | 推出。 |


## Related topics

- [IGameInputForceFeedbackEffect (介面內容)](https://docs.xbox.com/zh-TW/reference/input/gameinput/interfaces/igameinputforcefeedbackeffect/igameinputforcefeedbackeffect.md)
- [PFGetPlayerCombinedInfoRequestParams](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pftypes/structs/pfgetplayercombinedinforequestparams.md)
- [GetRequiredParameterResourceSize](https://docs.xbox.com/zh-TW/reference/graphics/d3d12/interfaces/id3d12metacommand/methods/id3d12metacommand_getrequiredparameterresourcesize_public.md)
- [Get Google](https://docs.xbox.com/api-reference/addon/get-google.md)
- [Get Kongregate](https://docs.xbox.com/api-reference/addon/get-kongregate.md)
