Click or drag to resize

Curve3DAddPoint 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
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void AddPoint(
	Vector3 position,
	Vector3? in = null,
	Vector3? out = null,
	int atPosition = -1
)

Parameters

position
Type: GodotVector3

[Missing <param name="position"/> documentation for "M:Godot.Curve3D.AddPoint(Godot.Vector3,System.Nullable{Godot.Vector3},System.Nullable{Godot.Vector3},System.Int32)"]

in (Optional)
Type: SystemNullableVector3
If the parameter is null, then the default value is new Vector3(0, 0, 0)
out (Optional)
Type: SystemNullableVector3
If the parameter is null, then the default value is new Vector3(0, 0, 0)
atPosition (Optional)
Type: SystemInt32

[Missing <param name="atPosition"/> documentation for "M:Godot.Curve3D.AddPoint(Godot.Vector3,System.Nullable{Godot.Vector3},System.Nullable{Godot.Vector3},System.Int32)"]

See Also