docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SystemEdgeDragHelper<TEdge>

    SystemEdgeDragHelper handles dragging of edges in the graph. Implements the EdgeDragHelper

    Inheritance
    object
    EdgeDragHelper
    SystemEdgeDragHelper<TEdge>
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Mechatronics.SystemGraph
    Assembly: solution.dll
    Syntax
    public class SystemEdgeDragHelper<TEdge> : EdgeDragHelper where TEdge : SystemEdge, new()
    Type Parameters
    Name Description
    TEdge

    The type of the t edge.

    Constructors

    Name Description
    SystemEdgeDragHelper(IEdgeConnectorListener)

    Initializes a new instance of the SystemEdgeDragHelper<TEdge> class.

    Fields

    Name Description
    Disable

    Represents if this edge is disabled

    m_CompatiblePorts

    The compatible ports

    m_GraphView

    The graph view

    m_Listener

    The listener of connection

    s_nodeAdapter

    The node adapter

    Properties

    Name Description
    GraphView

    Sets the graph view.

    draggedPort

    The port the edge is being dragged from.

    edgeCandidate

    The edge being dragged.

    resetPositionOnPan

    Gets or sets a value indicating whether [reset position on pan].

    Methods

    Name Description
    HandleMouseDown(MouseDownEvent)

    Handle mouse down event.

    HandleMouseMove(MouseMoveEvent)

    Handle mouse move event.

    HandleMouseUp(MouseUpEvent)

    Handle mouse up event.

    Reset(bool)

    Reset the state of the drag helper.

    See Also

    EdgeDragHelper
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)