docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NodePort

    Represents a INode<TInput, TOutput> port (combination of a node instance and a field name).

    Implements
    IEquatable<NodePort>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Importer
    Assembly: Unity.Importer.dll
    Syntax
    [Serializable]
    public struct NodePort : IEquatable<NodePort>

    Properties

    FieldName

    A field name to be found in the input/output of a INode<TInput, TOutput>.

    Declaration
    public string FieldName { get; }
    Property Value
    Type Description
    string
    Remarks

    The field search is done :

    • if used as an edge's origin => in the Output class of the node
    • if used as an edge's destination => in the Input class of the node

    Node

    The INode<TInput, TOutput> instance containing the field designed by fieldName.

    Declaration
    public INode<InputPorts, OutputPorts> Node { get; }
    Property Value
    Type Description
    INode<InputPorts, OutputPorts>

    Methods

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    Equals(NodePort)

    Declaration
    public bool Equals(NodePort other)
    Parameters
    Type Name Description
    NodePort other
    Returns
    Type Description
    bool

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Implements

    IEquatable<T>
    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)