class in UnityEditor.Experimental.UIElements.GraphView
/
Inherits from:Experimental.UIElements.Manipulator
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseManipulator that allows mouse-dragging of one or more elements.
clampToParentEdges | If true, it does not allow the dragged element to exit the parent's edges. |
panSpeed | When elements are dragged near the edges of the Graph, panning occurs. This controls the speed for said panning. |
ContentDragger | ContentDragger constructor. |
CalculatePosition | Calculate new position of the dragged element. |
OnMouseDown | Called on mouse down event. |
OnMouseMove | Called on mouse move event. |
OnMouseUp | Called on mouse up event. |
RegisterCallbacksOnTarget | Called to register click event callbacks on the target element. |
UnregisterCallbacksFromTarget | Called to unregister event callbacks from the target element. |
target | The element that handles the interaction. |