Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Node.IPortDefinitionContext

Interface that provides methods to define input and output ports during Node.OnDefinePorts execution.
Read time 1 minuteLast updated 6 days ago

Definition

public interface Node.IPortDefinitionContext

Remarks

Use this interface within Node.OnDefinePorts to declare the ports a node exposes. Ports define how the node connects to other nodes by specifying inputs and outputs.

Methods

Method

Description

AddInputPortAdds a new input port.
AddOutputPortAdds a new output port with the specified name.