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

# GameInputRumbleParams

> GameInputRumbleParams

# GameInputRumbleParams

描述標準控制器所產生的震動效果。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
struct GameInputRumbleParams
{
    float lowFrequency;
    float highFrequency;
    float leftTrigger;
    float rightTrigger;
};
```

<a id="membersSection" />

### 成員

*lowFrequency*<br />
類型：float

低頻震動馬達的強度，以範圍 \[0.0, 1.0] 內的正規化值表示。

*highFrequency*<br />
類型：float

高頻震動馬達的強度，以範圍 \[0.0, 1.0] 內的正規化值表示。

*leftTrigger*<br />
類型：float

左扳機震動馬達的強度，以範圍 \[0.0, 1.0] 內的正規化值表示。

*rightTrigger*<br />
類型：float

右扳機震動馬達的強度，以範圍 \[0.0, 1.0] 內的正規化值表示。

<a id="remarksSection" />

## 備註

此結構由 [SetRumbleState](/zh-TW/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_setrumblestate) 方法使用。此結構是以四馬達控制器為模型。不過，此結構也可用於未具備全部四個馬達的控制器，例如用於 PC 遊戲的控制器。

<a id="requirementsSection" />

## 需求

**標頭：** GameInput.h

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

<a id="seealsoSection" />

## 另請參閱

[GameInput 概觀](/zh-TW/build/core-features/common/input/overviews/input-overview)\
[GameInput](/zh-TW/reference/input/gameinput/gameinput_members)

## 版本歷程記錄

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


## Related topics

- [SetRumbleState](/zh-TW/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_setrumblestate.md)
- [GameInput](/zh-TW/reference/input/gameinput/gameinput_members.md)
- [GameInputRumbleMotors](/zh-TW/reference/input/gameinput/enums/gameinputrumblemotors.md)
- [GameInputForceFeedbackParams](/zh-TW/reference/input/gameinput/structs/gameinputforcefeedbackparams.md)
- [GameInputHapticFeedbackParams](/zh-TW/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md)
