Click or drag to resize

AnimationNodeBlendSpace2DAddTriangle Method

Creates a new triangle using three points x, y, and z. Triangles can overlap. You can insert the triangle 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 AddTriangle(
	int x,
	int y,
	int z,
	int atIndex = -1
)

Parameters

x
Type: SystemInt32

[Missing <param name="x"/> documentation for "M:Godot.AnimationNodeBlendSpace2D.AddTriangle(System.Int32,System.Int32,System.Int32,System.Int32)"]

y
Type: SystemInt32

[Missing <param name="y"/> documentation for "M:Godot.AnimationNodeBlendSpace2D.AddTriangle(System.Int32,System.Int32,System.Int32,System.Int32)"]

z
Type: SystemInt32

[Missing <param name="z"/> documentation for "M:Godot.AnimationNodeBlendSpace2D.AddTriangle(System.Int32,System.Int32,System.Int32,System.Int32)"]

atIndex (Optional)
Type: SystemInt32

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

See Also