A hit result from a BaseRaycastModule.
distance | Distance to the hit. |
gameObject | The GameObject that was hit by the raycast. |
index | Hit index. |
isValid | Is there an associated module and a hit GameObject. |
module | BaseInputModule that raised the hit. |
sortingLayer | The SortingLayer of the hit object. |
sortingOrder | The SortingOrder for the hit object. |
worldNormal | The normal at the hit location of the raycast. |
worldPosition | The world position of the where the raycast has hit. |
Clear | Reset the result. |