Click or drag to resize

CollisionPolygon2DPolygon Property

The polygon's list of vertices. The final point will be connected to the first. The returned value is a clone of the Vector2, not 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