FEnhancedActionKeyMapping

Defines a mapping between a key activation and the resulting enhanced action An key could be a button press, joystick axis movement, etc.

Choose your operating system:

Windows

macOS

Linux

References

Module

EnhancedInput

Header

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Public/EnhancedActionKeyMapping.h

Include

#include "EnhancedActionKeyMapping.h"

Syntax

USTRUCT(BlueprintType)
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

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

const UInputAct...

 

Action

Action to be affected by the key

Public variable UProperty Transient

uint8: 1

 

bShouldBeIgnored

If true, then this Key Mapping should be ignored.

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

FKey

 

Key

Key that affect the action.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite instanced

TArray< class U...

 

Modifiers

Modifiers applied to the raw key value. These are applied sequentially in array order.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite instanced

TArray< class U...

 

Triggers

Trigger qualifiers.

Constructors

Name Description

Public function

FEnhancedActionKeyMapping

(
    const UInputAction* InAction,
    const FKey InKey
)

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FEnhancedActionKeyMapping& O...
)