UEnhancedPlayerInput::InjectInputForAction

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.

Windows
MacOS
Linux

References

Module

EnhancedInput

Header

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

Include

#include "EnhancedPlayerInput.h"

Source

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Private/EnhancedPlayerInput.cpp

Syntax

void InjectInputForAction
(
    const UInputAction * Action,
    FInputActionValue RawValue,
    const TArray< UInputModifier * > & Modifiers,
    const TArray< UInputTrigger * > & Triggers
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss