Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEditor.Experimental.UIElements.GraphView
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.Close
For 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.Close
Selection dragger manipulator.
|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.|
|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.|
|CalculatePosition||Calculate new position of the dragged element.|
Did you find this page useful? Please give it a rating: