Click or drag to resize

NavigationPolygonSetOutline Method

Changes an outline created in the editor or by script. You have to call MakePolygonsFromOutlines for the polygons to update.

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

Parameters

idx
Type: SystemInt32

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

outline
Type: GodotVector2

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

See Also