Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/InputComponent.h |
Include |
#include "Components/InputComponent.h" |
template<class UserClass>
FInputKeyBinding & BindKey
(
const FKey Key,
const EInputEvent KeyEvent,
UserClass * Object,
typename FInputActionHandlerWithKeySignature::TUObjectMethodDelegate< UserClass >::FMethodPtr Func
)
Binds a key event to a delegate function with key signature. Returned reference is only guaranteed to be valid until another input key is bound.