Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UInputComponent
Description
Binds a gesture event to a delegate function. Returned reference is only guaranteed to be valid until another gesture event is bound.
| Name | BindGesture |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/InputComponent.h |
| Include Path | #include "Components/InputComponent.h" |
template<class UserClass>
FInputGestureBinding & BindGesture
(
const FKey GestureKey,
UserClass * Object,
typename FInputGestureHandlerSignature::TMethodPtr< UserClass > Func
)