The Input
property of the Editor.NodeEditor.Connection
class represents the input plug-in for a connection within the node editor. This property is used to define the source node or component that provides data to the connection.
The Input
property of the Editor.NodeEditor.Connection
class represents the input plug-in for a connection within the node editor. This property is used to define the source node or component that provides data to the connection.
To use the Input
property, you need to have an instance of the Connection
class. You can then access the Input
property to get or set the input plug-in for the connection. This is typically used when setting up or modifying connections between nodes in a node-based editor.
// Example of accessing the Input property // Assume 'connection' is an instance of Editor.NodeEditor.Connection Editor.NodeEditor.PlugIn inputPlugIn = connection.Input; // You can also set the Input property Editor.NodeEditor.PlugIn newInputPlugIn = new Editor.NodeEditor.PlugIn(); connection.Input = newInputPlugIn;