Click or drag to resize

Polygon2DPolygon Property

The polygon's list of vertices. The final point will be connected to the first.

Note: This returns a copy of the Vector2 rather than a reference.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector2[] Polygon { get; set; }

Property Value

Type: Vector2
See Also