Obtains the priority settings of the gesture.

These values may change during the handling of a gesture. If a handler recognizes multiple gestures or compound gestures, it may decide to change the priority during handling.

priority

The primary priority of the gesture.

significance

The intended visual significance of the gesture, if applied, based on the current pointer feedback. This is a value measured in points.

For example, if the point has moved 5 points to the left, a Swiper may report 5 to indicate how much it would move (this is a logical movement, since the true animation depends on the animators and triggers being used).

adjustment

An adjustment can be used to adjust the ordering between two gestures that have the same priority. This adjust the order in which captures may be elevated, giving the one with a higher adjustment first chance to escalated to a hard capture.

It's used, for example, to resolve that edge swipes resolve prior to directional swipes even if the SwipeGesture's are in different nodes.

This should generally return 0. A typical control will not modify this value.

Location

Namespace
Fuse.Input
Package
Fuse.Nodes 2.9.1

Returns

GesturePriorityConfig