Click or drag to resize

VisualScriptAddNode Method

Add a node to a function of the VisualScript.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void AddNode(
	string func,
	int id,
	VisualScriptNode node,
	Vector2? position = null
)

Parameters

func
Type: SystemString

[Missing <param name="func"/> documentation for "M:Godot.VisualScript.AddNode(System.String,System.Int32,Godot.VisualScriptNode,System.Nullable{Godot.Vector2})"]

id
Type: SystemInt32

[Missing <param name="id"/> documentation for "M:Godot.VisualScript.AddNode(System.String,System.Int32,Godot.VisualScriptNode,System.Nullable{Godot.Vector2})"]

node
Type: GodotVisualScriptNode

[Missing <param name="node"/> documentation for "M:Godot.VisualScript.AddNode(System.String,System.Int32,Godot.VisualScriptNode,System.Nullable{Godot.Vector2})"]

position (Optional)
Type: SystemNullableVector2
If the parameter is null, then the default value is new Vector2(0, 0)
See Also