onPointerHover method

  1. @override
Future<void> onPointerHover(
  1. Vector2 localPosition,
  2. Vector2 delta
)
override

Implementation

@override
Future<void> onPointerHover(Vector2 localPosition, Vector2 delta) async {
  if (_processing) {
    return;
  }
  _inputDeltas[InputType.POINTER_MOVE] =
      (_inputDeltas[InputType.POINTER_MOVE] ?? Vector3.zero()) +
          Vector3(delta.x, delta.y, 0.0);
}