A hit result from a BaseRaycastModule.
depth | The relative depth of the element. |
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. |
screenPosition | The screen position from which the raycast was generated. |
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. |