Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UInputComponent
Description
Binds this input component to touch events. Returned reference is only guaranteed to be valid until another touch event is bound.
| Name | BindTouch |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/InputComponent.h |
| Include Path | #include "Components/InputComponent.h" |
template<class UserClass>
FInputTouchBinding & BindTouch
(
const EInputEvent KeyEvent,
UserClass * Object,
typename FInputTouchHandlerSignature::TMethodPtr< UserClass > Func
)