Navigation
API > API/Runtime > API/Runtime/Engine
Defines a mapping between an axis and key
| |
|
| Name |
FInputAxisKeyMapping |
| Type |
struct |
| Header File |
/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerInput.h |
| Include Path |
#include "GameFramework/PlayerInput.h" |
Syntax
USTRUCT (BlueprintType )
struct FInputAxisKeyMapping
Constructors
| Name |
Remarks |
Include Path |
Unreal Specifiers |
FInputAxisKeyMapping
(
const FName InAxisName,
const FKey InKey,
const float InScale
)
|
|
GameFramework/PlayerInput.h |
|
Variables
Public
| Name |
Type |
Remarks |
Include Path |
Unreal Specifiers |
| AxisName |
FName |
Friendly name of axis, e.g "MoveForward" |
GameFramework/PlayerInput.h |
- EditAnywhere
- BlueprintReadWrite
- Category="Input"
|
| Key |
FKey |
Key to bind it to. |
GameFramework/PlayerInput.h |
- EditAnywhere
- BlueprintReadWrite
- Category="Input"
|
| Scale |
float |
Multiplier to use for the mapping when accumulating the axis value |
GameFramework/PlayerInput.h |
- EditAnywhere
- BlueprintReadWrite
- Category="Input"
|
Functions
Public
Operators
See Also