Version: Unity 6.4 Alpha (6000.4)
LanguageEnglish
  • C#

INode

interface in Unity.GraphToolkit.Editor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Interface for a node.

This interface provides methods for accessing input and output ports, which are essential for connecting nodes.

Properties

Property Description
InputPortCount The number of input ports on the node.
OutputPortCount The number of output ports on the node.

Public Methods

Method Description
GetInputPort Retrieves an input port using its index.
GetInputPortByName Retrieves an input port using its name.
GetInputPorts Retrieves all input ports on the node in the order they are displayed.
GetOutputPort Retrieves an output port using its index in the displayed order.
GetOutputPortByName Retrieves an output port using its name.
GetOutputPorts Retrieves all output ports on the node in the order they are displayed.