Class OutputPortArrayExt | Data Flow Graph | 0.19.0-preview.7
docs.unity3d.com
    Show / Hide Table of Contents

    Class OutputPortArrayExt

    Extension methods added to PortArray<TPort> which are specific to PortArrays of output port types

    Inheritance
    Object
    OutputPortArrayExt
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Unity.DataFlowGraph
    Syntax
    public static class OutputPortArrayExt

    Methods

    GetPortID<TOutputPort>(PortArray<TOutputPort>)

    Returns the OutputPortID corresponding to this PortArray<TPort> similar to PortArray<TPort>'s explicit cast operator but without incurring a runtime check that the port in fact represents an output type.

    Declaration
    public static OutputPortID GetPortID<TOutputPort>(this in PortArray<TOutputPort> portArray)
        where TOutputPort : struct, IOutputPort
    Parameters
    Type Name Description
    PortArray<TOutputPort> portArray
    Returns
    Type Description
    OutputPortID
    Type Parameters
    Name Description
    TOutputPort
    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