docs.unity3d.com
    Show / Hide Table of Contents

    Edge

    Description

    An Edge defines a connection between two Ports. Edges define how data flows through the Shader Graph node network. They can only be connected from an input Port to an output Port.

    Each Edge has a Data Type which defines what Ports it can be connected to. Each Data Type has an associated color for identifying its type.

    You can create a new Edge by clicking and dragging from a Port with the left mouse button. Edges can be deleted with Delete (Windows), Command + Backspace (OSX) or from the context menu by right clicking on the Node.

    You can open a contextual Create Node Menu by dragging an Edge from a Port with the left mouse button and releasing it in an empty area of the workspace.

    In This Article
    • Description
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023