Arbor Reference
3.7.4
Component Reference
Behaviour Reference
Calculator Reference
Bool
Bounds
Collider
Collider2D
Collision
Collision2D
Component
EnumFlags
Events
Float
Input
Int
List
Long
Mathf
NodeGraph
Parameter
Quaternion
Random
RaycastHit
RaycastHit2D
RaycastHit2D.Centroid
Properties
RaycastHit2D.Collider
RaycastHit2D.Distance
RaycastHit2D.Fraction
RaycastHit2D.Normal
RaycastHit2D.Point
RaycastHit2D.Rigidbody
RaycastHit2D.Transform
Rect
RectTransform
Rigidbody
Rigidbody2D
Scene
String
Transform
Vector2
Vector3
BehaviourTree
Arbor Reference
Docs
»
Calculator Reference
»
RaycastHit2D.Centroid
RaycastHit2D.Centroid
¶
The centroid of the primitive used to perform the cast.
Properties
¶
Property Name
Description
Raycast Hit 2D
RaycastHit2D
Centroid
Output barycentric coordinate