Mobile game C++ binding rotate gesture

Hi,

I am working on mobile game. I would like to be able to rotate my camera with two-finger circular touch motion.

I saw that there is method

FInputGestureBinding& BindGesture( const FKey GestureKey, UserClass* Object, typename FInputGestureHandlerSignature::TMethodPtr< UserClass > Func )

on PlayerInputComponent in SetupPlayerInputComponent method.

But I can’t find any example on how to call such method. I tried this:

PlayerInputComponent->BindGesture(EKeys::Gesture_Rotate, this, &ACameraCharacter::OnRotateGesture);

where “OnRotateGesture” is my Gesture handler function.