Click or drag to resize

AnimationNodeBlendSpace2DAddBlendPoint Method

Adds a new point that represents a node at the position set by pos. You can insert it at a specific index using the at_index argument. If you use the default value for at_index, the point is inserted at the end of the blend points array.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void AddBlendPoint(
	AnimationRootNode node,
	Vector2 pos,
	int atIndex = -1
)

Parameters

node
Type: GodotAnimationRootNode

[Missing <param name="node"/> documentation for "M:Godot.AnimationNodeBlendSpace2D.AddBlendPoint(Godot.AnimationRootNode,Godot.Vector2,System.Int32)"]

pos
Type: GodotVector2

[Missing <param name="pos"/> documentation for "M:Godot.AnimationNodeBlendSpace2D.AddBlendPoint(Godot.AnimationRootNode,Godot.Vector2,System.Int32)"]

atIndex (Optional)
Type: SystemInt32

[Missing <param name="atIndex"/> documentation for "M:Godot.AnimationNodeBlendSpace2D.AddBlendPoint(Godot.AnimationRootNode,Godot.Vector2,System.Int32)"]

See Also