Struct ResultEdge
A result edge connects an output of any Node<TInput, TOutput> in the graph to a result id.
Inherited Members
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
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
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |