Version: 2019.2
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

EdgeDragHelper<T0>

class in UnityEditor.Experimental.GraphView

/

Inherits from:Experimental.GraphView.EdgeDragHelper

/

Implemented in:UnityEditor

Suggest a change

Success!

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

Submission failed

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

Cancel

Description

Edge drag helper class.

Properties

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 Methods

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

Inherited Members

Properties

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

Did you find this page useful? Please give it a rating: