struct
Gesture.OnDrag
Details of a drag event.
Remarks
Gesture.OnDrag events will begin to fire when a drag distance threshold is surpassed while a pointer is pressed, Gesture.OnPress.
Once the drag interaction is initiated, a new Gesture.OnDrag event will fire each time the Interaction
intersects a different position on the Receiver's gesture plane. This process will continue to until either
the interaction is canceled, Gesture.OnCancel, or the pointer is released, Gesture.OnRelease.
Fields
DraggableAxes | The configured draggable axes of the Receiver. |
PointerPositions | The start, previous, and current pointer positions, in world space, of this drag event. |
RawPointerPositions | The start, previous, and current positions of the pointer, in the world space position in which they actually occured, of this drag event. |
Properties
DragDeltaLocalSpace | The delta between |
DragDeltaWorldSpace | The delta between |
ID | A unique identifier associated with the event. |
Interaction | The interaction update responsible for triggering the event. Either passed into or created by an Interaction method. |
RawDeltaLocalSpace | The delta between |
RawTranslationLocalSpace | The total translation from |
Receiver | The UIBlock from which the event was invoked. |
Target | An ancestor of the Receiver (or the Receiver itself) holding information pertinent to the event handler. |