Click or drag to resize

RayCastOutput Fields

The RayCastOutput type exposes the following members.

Fields
  NameDescription
Public fieldFraction
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.
Public fieldNormal
The normal of the face of the shape the ray has hit.
Top
See Also