Base raycast result, also used for prism hits.
Returns the distance (in meters) from the raycast source to the intersected object. (if 0, source is inside or just touching the object)
Normal vector at the intersection point. Note not all raycasts support generating normals, so this value should be checked for a 0-length vector before using.
Returns the point in prism coordinates where the ray intersection occurred
Returns the prism that was intersected by a raycast.
Returns the ray direction, in prism coordinates.
Returns the ray origin, in prism coordinates.
Generated using TypeDoc