RaycastHit2D.Centroid
The centroid of the primitive used to perform the cast.

Properties
| Property Name | Description |
|---|---|
| Raycast Hit 2D | RaycastHit2D |
| Centroid | Output barycentric coordinate |
The centroid of the primitive used to perform the cast.

| Property Name | Description |
|---|---|
| Raycast Hit 2D | RaycastHit2D |
| Centroid | Output barycentric coordinate |