docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddDynamicPort

    AddDynamicPort(GraphDescriptor, NodeDescriptor, string, Type, PortDirection, FieldExtra)

    Add a dynamic port on a node

    Declaration
    public static PortDescriptor AddDynamicPort(GraphDescriptor desc, NodeDescriptor node, string portName, Type portType, PortDirection direction, FieldExtra extra)
    Parameters
    Type Name Description
    GraphDescriptor desc

    The GraphDescriptor

    NodeDescriptor node

    The node on which to add a Port

    string portName

    The name of the port

    Type portType

    The type of the Port to add

    PortDirection direction

    The direction of the port on the node

    FieldExtra extra

    The extra field information to attribute to this Port

    Returns
    Type Description
    PortDescriptor

    Returns a new PortDescriptor

    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)