BaseGesture.OnGestureEventListener

  • BaseGesture.OnGestureEventListener defines callbacks for gesture interactions in Sceneform.

  • It provides two abstract methods: onFinished() and onUpdated(), triggered when a gesture ends and updates, respectively.

  • These methods receive the gesture object as a parameter, allowing developers to access gesture-specific data.

  • This interface is implemented by various gesture controllers like DragGesture, PinchGesture, and TwistGesture.

  • It facilitates handling gesture events for manipulating Sceneform nodes and implementing custom interaction logic.

public static interface BaseGesture.OnGestureEventListener
Known Indirect Subclasses

Interface definition for callbacks to be invoked by a BaseGesture.

Public Methods

abstract void
onFinished(T gesture)
abstract void
onUpdated(T gesture)

Public Methods

public abstract void onFinished (T gesture)

Parameters
gesture

public abstract void onUpdated (T gesture)

Parameters
gesture