Interface INode<TInput, TOutput>
This base interface is used by the graph runner API in order to execute an ImporterGraph. Node<TInput, TOutput>
Namespace: UnityEngine .Importer
Assembly: Unity.Importer.dll
Syntax
public interface INode<out TInput, out TOutput> : INodeSerialization where TInput : InputPorts where TOutput : OutputPorts
Type Parameters
Name | Description |
---|---|
TInput | The type containing all inputs for this import step. |
TOutput | The type containing all outputs for this import step. |
Remarks
It is recommended to inherits from the Node<TInput, TOutput> API in order to use this in the ImporterGraph system.
Properties
Input
The Inputs required by the node that are populated automatically by the graph runner. See more details on the Node<TInput, TOutput> API.
Declaration
InputPorts Input { get; set; }
Property Value
Type | Description |
---|---|
Input |
Output
The Outputs expected from the node. See more details on the Node<TInput, TOutput> API.
Declaration
OutputPorts Output { get; set; }
Property Value
Type | Description |
---|---|
Output |
Methods
Run()
This method is called by the graph runner to execute an import step during the import process. See more details on the Node<TInput, TOutput> API.
Declaration
void Run()