RaycastHit2D.Centroid

The centroid of the primitive used to perform the cast.

RaycastHit2D.Centroid

Properties

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