Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerInput.h |
Include |
#include "GameFramework/PlayerInput.h" |
struct FInputKeyParams
Paramaters to be considered when calling UPlayerInput::InputKey.
Name | Description | ||
---|---|---|---|
|
bIsGamepadOverride |
If set to true, treat this input event as if it were from a gamepad, whether the FKey is a gamepad key or not. |
|
|
Delta |
The Delta that the given key/axis has been changed by |
|
|
float |
DeltaTime |
The time between the previous frame and the current one |
|
enum EInputEven... |
Event |
The event that has caused a Button key to be considered |
|
Key |
The key that has been pressed |
|
|
NumSamples |
The number of samples to be taken into account with the FKeyState::SampleCountAccumulator |
Name | Description | |
---|---|---|
|
FInputKeyParams() |
|
|
FInputKeyParams ( |
|
|
FInputKeyParams ( |
|
|
FInputKeyParams |
Name | Description | ||
---|---|---|---|
|
double |
Get1DAxisDelta() |
Get the delta of the given axis for 1D axis |
|
Get2DAxisDelta() |
Get the delta of the given axis for 2D axis |
|
|
Get3DAxisDelta() |
Get the delta of the given axis for 3D axis |
|
|
IsGamepad() |
Returns true if the Key used for this input is a gamepad key |