Navigation
API > API/Plugins > API/Plugins/EnhancedInput > API/Plugins/EnhancedInput/UEnhancedInputComponent
References
| Module | EnhancedInput |
| Header | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/EnhancedInputComponent.h |
| Include | #include "EnhancedInputComponent.h" |
template<typename FunctorType, typename... VarTypes>
FEnhancedInputActionEventBinding & BindActionValueLambda
(
const UInputAction * Action,
ETriggerEvent TriggerEvent,
FunctorType && InFunctor,
VarTypes &&... Vars
)
Remarks
Binds a lambda expression to receive the input action value form an input event. Example: InputComponent->BindActionValueLambda( TestAction, ETriggerEvent::Triggered, const [FInputActionValue](API/Plugins/EnhancedInput/FInputActionValue)& InputActionValue { // Do you work here! });