Curve2DAddPoint Method |
Adds a point to a curve at position, with control points in and out.
If at_position is given, the point is inserted before the point number at_position, moving that point (and every point after) after the inserted point. If at_position is not given, or is an illegal value (at_position <0 or at_position >= [method get_point_count]), the point will be appended at the end of the point list.
Namespace: Godot
public void AddPoint( Vector2 position, Vector2? in = null, Vector2? out = null, int atPosition = -1 )
[Missing <param name="position"/> documentation for "M:Godot.Curve2D.AddPoint(Godot.Vector2,System.Nullable{Godot.Vector2},System.Nullable{Godot.Vector2},System.Int32)"]
[Missing <param name="atPosition"/> documentation for "M:Godot.Curve2D.AddPoint(Godot.Vector2,System.Nullable{Godot.Vector2},System.Nullable{Godot.Vector2},System.Int32)"]