Ray |
The RayCastOutput type exposes the following members.
| Name | Description | |
|---|---|---|
| Fraction | The ray hits at p1 + fraction * (p2 - p1), where p1 and p2 come from RayCastInput. Contains the actual fraction of the ray where it has the intersection point. | |
| Normal | The normal of the face of the shape the ray has hit. |