VisualShaderNodeCustom_GetInputPortName Method |
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(Array, Array, Int32, Int32).
Defining this method is optional, but recommended. If not overridden, input ports are named as "in" + str(port).
Namespace: Godot
public virtual string _GetInputPortName( int port )
[Missing <param name="port"/> documentation for "M:Godot.VisualShaderNodeCustom._GetInputPortName(System.Int32)"]
[Missing <returns> documentation for "M:Godot.VisualShaderNodeCustom._GetInputPortName(System.Int32)"]