Click or drag to resize

AnimationNodeStateMachineAddNode Method

Adds a new node to the graph. The position is used for display in the editor.

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

Parameters

name
Type: SystemString

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

node
Type: GodotAnimationNode

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

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