Version: 2018.2
Experimental: this API is experimental and might be changed or removed in the future.

EdgeDragHelper<T0>

class in UnityEditor.Experimental.UIElements.GraphView

/

Inherits from:Experimental.UIElements.GraphView.EdgeDragHelper

Switch to Manual

Description

Edge drag helper class.

Variables

draggedPortThe port the edge is being dragged from.
edgeCandidateThe edge being dragged.
resetPositionOnPanTrue if it should reset position on pan if nothing is connected.

Constructors

EdgeDragHelper_1EdgeDragHelper's constructor.

Public Functions

HandleMouseDownHandle mouse down event.
HandleMouseMoveHandle mouse move event.
HandleMouseUpHandle mouse up event.
ResetReset the state of the drag helper.

Inherited members

Variables

draggedPortThe port the edge is being dragged from.
edgeCandidateThe edge being dragged.