docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ResultEdge

    A result edge connects an output of any Node<TInput, TOutput> in the graph to a result id.

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

    TODO: Link to graph results once it's added.

    Constructors

    ResultEdge(string, INode<InputPorts, OutputPorts>, string)

    A result edge connects an output of any Node<TInput, TOutput> in the graph to a result id.

    Declaration
    public ResultEdge(string resultId, INode<InputPorts, OutputPorts> origin, string originFieldName)
    Parameters
    Type Name Description
    string resultId

    The result Id from the ImporterGraph under which this INode<TInput, TOutput> output will be saved.

    INode<InputPorts, OutputPorts> origin

    The ResultEdge origin INode<TInput, TOutput>.

    string originFieldName

    The ResultEdge origin output field on the origin INode<TInput, TOutput>.

    Properties

    Id

    The setting id under which the result can be retrieved after the graph is processed.

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    string

    Origin

    A NodePort representing the origin of the ResultEdge.

    Declaration
    public NodePort Origin { get; }
    Property Value
    Type Description
    NodePort

    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(ResultEdge)

    Declaration
    public bool Equals(ResultEdge other)
    Parameters
    Type Name Description
    ResultEdge 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>
    IOriginEdge
    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)