Navigation
API > API/Plugins > API/Plugins/EnhancedInput
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UEnhancedInputLibrary
References
| Module | EnhancedInput |
| Header | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/EnhancedInputLibrary.h |
| Include | #include "EnhancedInputLibrary.h" |
Syntax
UCLASS&40;&41;
class UEnhancedInputLibrary : public UBlueprintFunctionLibrary
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BreakInputActionValue
(
FInputActionValue InActionValue, |
Breaks an ActionValue into X, Y, Z. Axes not supported by value type will be 0. | |
| double | Conv_InputActionValueToAxis1D
(
FInputActionValue InValue |
Interpret an InputActionValue as a 1D axis (double) input | |
| FVector2D | Conv_InputActionValueToAxis2D
(
FInputActionValue InValue |
Interpret an InputActionValue as a 2D axis (Vector2D) input | |
| FVector | Conv_InputActionValueToAxis3D
(
FInputActionValue ActionValue |
Interpret an InputActionValue as a 3D axis (Vector) input | |
| bool | Conv_InputActionValueToBool
(
FInputActionValue InValue |
Interpret an InputActionValue as a boolean input | |
| FString | Conv_InputActionValueToString
(
FInputActionValue ActionValue |
Converts a FInputActionValue to a string | |
| void | ForEachSubsystem
(
TFunctionRef< void(IEnhancedInputSubsystemInterface*)> SubsystemPredicate |
Call SubsystemPredicate on each registered player and standalone enhanced input subsystem. | |
| FInputActionValue | GetBoundActionValue
(
AActor* Actor, |
GetInputActionvalue internal accessor function for actions that have been bound to from a UEnhancedInputComponent. | |
| FName | GetMappingName
(
const FEnhancedActionKeyMapping& ActionKeyMapping |
Returns the name of the mapping based on setting behavior used. | |
| UPlayerMappableKeySettings * | GetPlayerMappableKeySettings
(
const FEnhancedActionKeyMapping& ActionKeyMapping |
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. | |
| bool | IsActionKeyMappingPlayerMappable
(
const FEnhancedActionKeyMapping& ActionKeyMapping |
Returns true if this Action Key Mapping either holds a Player Mappable Key Settings or is set bIsPlayerMappable. | |
| FInputActionValue | MakeInputActionValueOfType
(
double X, |
Builds an ActionValue from X, Y, Z. | |
| void | RequestRebuildControlMappingsUsingContext
(
const UInputMappingContext* Context, |
Flag all enhanced input subsystems making use of the mapping context for reapplication of all control mappings at the end of this frame. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| PRAGMA_DISABLE_DEPRECATION_WARNINGSFPlayerMappableKeySlot & | FPlayerMappableKeySlot has been deprecated. Please use EPlayerMappableKeySlot instead. | ||
| FPlayerMappableKeySlot & | FPlayerMappableKeySlot has been deprecated. Please use EPlayerMappableKeySlot instead. | ||
| FPlayerMappableKeySlot & | FPlayerMappableKeySlot has been deprecated. Please use EPlayerMappableKeySlot instead. | ||
| FPlayerMappableKeySlot & | FPlayerMappableKeySlot has been deprecated. Please use EPlayerMappableKeySlot instead. | ||
| FInputActionValue | MakeInputActionValue
(
double X, |
This version of MakeInputActionValue has been deprecated, please use MakeInputActionValueOfType |