Navigation
API > API/Plugins > API/Plugins/EnhancedInput
References
Module | EnhancedInput |
Header | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/EnhancedActionKeyMapping.h |
Include | #include "EnhancedActionKeyMapping.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FEnhancedActionKeyMapping
Remarks
Defines a mapping between a key activation and the resulting enhanced action An key could be a button press, joystick axis movement, etc. An enhanced action could be MoveForward, Jump, Fire, etc.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
TObjectPtr< const UInputAction > | Action | Action to be affected by the key |
![]() ![]() ![]() |
uint8: 1 | bShouldBeIgnored | If true, then this Key Mapping should be ignored. |
![]() ![]() ![]() ![]() |
FKey | Key | Key that affect the action. |
![]() ![]() ![]() ![]() ![]() |
TArray< TObjectPtr< UInputModifier > > | Modifiers | Modifiers applied to the raw key value. |
![]() ![]() ![]() ![]() |
TObjectPtr< UPlayerMappableKeySettings > | PlayerMappableKeySettings | Used to expose this mapping or to opt-out of settings completely. |
![]() ![]() ![]() |
EPlayerMappableKeySettingBehaviors | SettingBehavior | Defines which Player Mappable Key Setting to use for a Action Key Mapping. |
![]() ![]() ![]() ![]() ![]() |
TArray< TObjectPtr< UInputTrigger > > | Triggers | Trigger qualifiers. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FEnhancedActionKeyMapping
(
const UInputAction* InAction, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | CompareByObjectTypes
(
const TArray< TObjectPtr< T >>& A, |
Compares if two TArray of UObjects contain the same number and types of objects, but doesn't compare their values. |
![]() ![]() |
bool | Equals
(
const FEnhancedActionKeyMapping& Other |
If the template bIgnoreModifierAndTriggerValues is true, compare to Other ignoring different trigger states, like pending activation time, but only accept both as equal if the Trigger types are the same and in the same order. |
![]() ![]() |
const FText & | The localized display category of this key mapping | |
![]() ![]() |
const FText & | The localized display name of this key mapping | |
![]() ![]() |
FName | Returns the name of the mapping based on setting behavior used. | |
![]() ![]() |
UPlayerMappableKeySettings * | Returns the Player Mappable Key Settings owned by the Action Key Mapping or by the referenced Input Action, or nothing based of the Setting Behavior. | |
![]() ![]() |
T * | ||
![]() ![]() |
EDataValidationResult | IsDataValid
(
FDataValidationContext& Context |
|
![]() ![]() |
bool | Returns true if this Action Key Mapping either holds a Player Mappable Key Settings or is set bIsPlayerMappable. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator==
(
const FEnhancedActionKeyMapping& Other |
Identical comparison, including Triggers and Modifiers current inner values. |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
uint8: 1 | bIsPlayerMappable | bIsPlayerMappable has been deprecated, please use SettingBehavior instead. |
![]() ![]() ![]() |
FPlayerMappableKeyOptions | PlayerMappableOptions | PlayerMappableOptions has been deprecated, please use PlayerMappableKeySettings instead. |