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>
FInputTouchBinding & BindTouch
(
const EInputEvent KeyEvent,
UserClass * Object,
typename FInputTouchHandlerSignature::TMethodPtr< UserClass > Func
)
Remarks
Binds this input component to touch events. Returned reference is only guaranteed to be valid until another touch event is bound.