Function VisualShaderNodeCustom._getInputPortName
Override this method to define the names of input ports of the associated custom node. The names are used both for the input slots in the editor and as identifiers in the shader code, and are passed in the input_vars
array in getCode
.
Defining this method is optional, but recommended. If not overridden, input ports are named as "in" + str(port)
.