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