docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddEdge

    AddEdge(GraphDescriptor, PortDescriptor, PortDescriptor, SystemEdge)

    Add an edge between two ports

    Declaration
    public static EdgeDescriptor AddEdge(GraphDescriptor desc, PortDescriptor fromPort, PortDescriptor toPort, SystemEdge edgeVisual = null)
    Parameters
    Type Name Description
    GraphDescriptor desc

    The GraphDescriptor

    PortDescriptor fromPort

    The source port to connect

    PortDescriptor toPort

    The destination port to connect

    SystemEdge edgeVisual

    Edge visual element to assign to the new edge

    Returns
    Type Description
    EdgeDescriptor

    Returns a new EdgeDescriptor

    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)