Navigation
API > API/Plugins > API/Plugins/EnhancedInput > API/Plugins/EnhancedInput/IEnhancedInputSubsystemInterface
Description
Input simulation via injection. Runs modifiers and triggers delegates as if the input had come through the underlying input system as FKeys. Applies action modifiers and triggers on top.
| Name | InjectInputVectorForAction |
| Type | function |
| Header File | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/EnhancedInputSubsystemInterface.h |
| Include Path | #include "EnhancedInputSubsystemInterface.h" |
| Source | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Private/EnhancedInputSubsystemInterface.cpp |
UFUNCTION (BlueprintCallable, Category="Input", Meta=(AutoCreateRefTerm="Modifiers,Triggers"))
virtual void InjectInputVectorForAction
(
const UInputAction * Action,
FVector Value,
const TArray< UInputModifier * > & Modifiers,
const TArray< UInputTrigger * > & Triggers
)
Parameters
| Name | Remarks |
|---|---|
| Action | The Input Action to set inject input for |
| Value | The value to set the action to (the type will be controlled by the Action) |
| Modifiers | The modifiers to apply to the injected input. |
| Triggers | The triggers to apply to the injected input. |