Documentation

Unity Engine

Unity Engine

centroid

The centroid of the polygon.
Read time 1 minuteLast updated 2 months ago

Definition

public Vector2 centroid { readonly get; set; }