Click or drag to resize

VisualShaderNodeCustom_GetOutputPortType Method

Override this method to define the returned type of each output port of the associated custom node (see VisualShaderNodePortType for possible types).

Defining this method is optional, but recommended. If not overridden, output ports will return the type.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public virtual int _GetOutputPortType(
	int port
)

Parameters

port
Type: SystemInt32

[Missing <param name="port"/> documentation for "M:Godot.VisualShaderNodeCustom._GetOutputPortType(System.Int32)"]

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.VisualShaderNodeCustom._GetOutputPortType(System.Int32)"]

See Also