Click or drag to resize

VisualShaderCanConnectNodes Method

Returns true if the specified nodes and ports can be connected together.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public bool CanConnectNodes(
	VisualShaderType type,
	int fromNode,
	int fromPort,
	int toNode,
	int toPort
)

Parameters

type
Type: GodotVisualShaderType

[Missing <param name="type"/> documentation for "M:Godot.VisualShader.CanConnectNodes(Godot.VisualShader.Type,System.Int32,System.Int32,System.Int32,System.Int32)"]

fromNode
Type: SystemInt32

[Missing <param name="fromNode"/> documentation for "M:Godot.VisualShader.CanConnectNodes(Godot.VisualShader.Type,System.Int32,System.Int32,System.Int32,System.Int32)"]

fromPort
Type: SystemInt32

[Missing <param name="fromPort"/> documentation for "M:Godot.VisualShader.CanConnectNodes(Godot.VisualShader.Type,System.Int32,System.Int32,System.Int32,System.Int32)"]

toNode
Type: SystemInt32

[Missing <param name="toNode"/> documentation for "M:Godot.VisualShader.CanConnectNodes(Godot.VisualShader.Type,System.Int32,System.Int32,System.Int32,System.Int32)"]

toPort
Type: SystemInt32

[Missing <param name="toPort"/> documentation for "M:Godot.VisualShader.CanConnectNodes(Godot.VisualShader.Type,System.Int32,System.Int32,System.Int32,System.Int32)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.VisualShader.CanConnectNodes(Godot.VisualShader.Type,System.Int32,System.Int32,System.Int32,System.Int32)"]

See Also