Struct SettingEdge
A setting edge connects a setting id to an input of any Node<TInput, TOutput> in the graph.
Inherited Members
Namespace: UnityEngine.Importer
Assembly: Unity.Importer.dll
Syntax
[Serializable]
public struct SettingEdge : IEquatable<SettingEdge>, IDestinationEdge
  Remarks
A valid setting edge must abide to the following rules :
- destination is an input field of a node in the graph
 - id is an import setting id in the graph
 - import setting and destination field are of the same type
 - setting edge is unique
 - only one incoming edge/SettingEdge per input
 
Constructors
SettingEdge(string, INode<InputPorts, OutputPorts>, string)
A setting edge connects a setting id to an input of any Node<TInput, TOutput> in the graph.
Declaration
public SettingEdge(string settingId, INode<InputPorts, OutputPorts> destination, string destinationFieldName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | settingId | The ImporterGraph setting's Id that will be injected to an input of a INode<TInput, TOutput>.  | 
      
| INode<InputPorts, OutputPorts> | destination | The SettingEdge destination INode<TInput, TOutput>.  | 
      
| string | destinationFieldName | The SettingEdge destination input field on the destination INode<TInput, TOutput>.  | 
      
Properties
Destination
A NodePort representing the destination of the SettingEdge.
Declaration
public NodePort Destination { get; }
  Property Value
| Type | Description | 
|---|---|
| NodePort | 
Id
The setting id of the ImportSetting<T> from which to retrieve the setting's value.
Declaration
public string Id { get; }
  Property Value
| Type | Description | 
|---|---|
| string | 
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| object | obj | 
Returns
| Type | Description | 
|---|---|
| bool | 
Overrides
Equals(SettingEdge)
Declaration
public bool Equals(SettingEdge other)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SettingEdge | 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 |