Click or drag to resize

NavigationPolygonAddOutlineAtIndex Method

Adds a Vector2 that contains the vertices of an outline to the internal array that contains all the outlines at a fixed position. You have to call MakePolygonsFromOutlines in order for this array to be converted to polygons that the engine will use.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void AddOutlineAtIndex(
	Vector2[] outline,
	int index
)

Parameters

outline
Type: GodotVector2

[Missing <param name="outline"/> documentation for "M:Godot.NavigationPolygon.AddOutlineAtIndex(Godot.Vector2[],System.Int32)"]

index
Type: SystemInt32

[Missing <param name="index"/> documentation for "M:Godot.NavigationPolygon.AddOutlineAtIndex(Godot.Vector2[],System.Int32)"]

See Also