Click or drag to resize

AnimationNodeBlendSpace1DAddBlendPoint Method

Adds a new point that represents a node on the virtual axis at a given 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,
	float pos,
	int atIndex = -1
)

Parameters

node
Type: GodotAnimationRootNode

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

pos
Type: SystemSingle

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

atIndex (Optional)
Type: SystemInt32

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

See Also