Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerInput.h |
Include | #include "GameFramework/PlayerInput.h" |
Syntax
struct FInputKeyParams
Remarks
Paramaters to be considered when calling UPlayerInput::InputKey.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | 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. |
![]() |
FVector | 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 EInputEvent | Event | The event that has caused a Button key to be considered |
![]() |
FInputDeviceId | InputDevice | The input device that has triggered this input |
![]() |
FKey | Key | The key that has been pressed |
![]() |
int32 | NumSamples | The number of samples to be taken into account with the FKeyState::SampleCountAccumulator |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FInputKeyParams
(
FKey InKey, |
||
![]() |
FInputKeyParams
(
FKey InKey, |
||
![]() |
FInputKeyParams
(
FKey InKey, |
||
![]() |
FInputKeyParams
(
FKey InKey, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
double | Get the delta of the given axis for 1D axis | |
![]() ![]() |
FVector2D | Get the delta of the given axis for 2D axis | |
![]() ![]() |
FVector | Get the delta of the given axis for 3D axis | |
![]() ![]() |
bool | IsGamepad () |
Returns true if the Key used for this input is a gamepad key |