Class EdgeDragHelper<TEdge>
Inheritance
EdgeDragHelper<TEdge>
Assembly: UnityEditor.dll
Syntax
public class EdgeDragHelper<TEdge> : EdgeDragHelper where TEdge : Edge, new()
Type Parameters
Constructors
|
Improve this Doc
View Source
EdgeDragHelper(IEdgeConnectorListener)
Declaration
public EdgeDragHelper(IEdgeConnectorListener listener)
Parameters
Fields
|
Improve this Doc
View Source
m_CompatiblePorts
Declaration
protected List<Port> m_CompatiblePorts
Field Value
|
Improve this Doc
View Source
m_GraphView
Declaration
protected GraphView m_GraphView
Field Value
|
Improve this Doc
View Source
m_Listener
Declaration
protected readonly IEdgeConnectorListener m_Listener
Field Value
|
Improve this Doc
View Source
s_nodeAdapter
Declaration
protected static NodeAdapter s_nodeAdapter
Field Value
Properties
|
Improve this Doc
View Source
draggedPort
Declaration
public override Port draggedPort { get; set; }
Property Value
Overrides
|
Improve this Doc
View Source
edgeCandidate
Declaration
public override Edge edgeCandidate { get; set; }
Property Value
Overrides
|
Improve this Doc
View Source
resetPositionOnPan
Declaration
public bool resetPositionOnPan { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
HandleMouseDown(MouseDownEvent)
Declaration
public override bool HandleMouseDown(MouseDownEvent evt)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
HandleMouseMove(MouseMoveEvent)
Declaration
public override void HandleMouseMove(MouseMoveEvent evt)
Parameters
Overrides
|
Improve this Doc
View Source
HandleMouseUp(MouseUpEvent)
Declaration
public override void HandleMouseUp(MouseUpEvent evt)
Parameters
Overrides
|
Improve this Doc
View Source
Reset(Boolean)
Declaration
public override void Reset(bool didConnect = false)
Parameters
Type |
Name |
Description |
Boolean |
didConnect |
|
Overrides
Extension Methods