RaycastHit2D.Centroid

The centroid of the primitive used to perform the cast.

RaycastHit2D.Centroid

Properties

Property NameDescription
Raycast Hit 2D RaycastHit2D
Centroid Output barycentric coordinate