Base class for a family of nodes with variable number of input and output ports within the visual shader graph.
Currently, has no direct usage, use the derived classes instead.
Adds an input port with the specified type (see VisualShaderNode.PortType) and name.
Adds an output port with the specified type (see VisualShaderNode.PortType) and name.
Returns a free input port ID which can be used in add_input_port().
Returns a free output port ID which can be used in add_output_port().
Returns the number of input ports in use. Alternative for get_free_input_port_id().
Returns a String description of the input ports as a colon-separated list using the format id,type,name; (see add_input_port()).
Returns the number of output ports in use. Alternative for get_free_output_port_id().
Returns a String description of the output ports as a colon-separated list using the format id,type,name; (see add_output_port()).
Returns true if the specified port name does not override an existed port name and is valid within the shader.
Sets the specified input port's type (see VisualShaderNode.PortType).
Defines all input ports using a String formatted as a colon-separated list: id,type,name; (see add_input_port()).
Sets the specified output port's type (see VisualShaderNode.PortType).
Defines all output ports using a String formatted as a colon-separated list: id,type,name; (see add_output_port()).