Struct GraphHitInfo

Public

Info about what a ray- or linecasts hit.

This is the return value of the IRaycastableGraph.Linecast methods. Some members will also be initialized even if nothing was hit, see the individual member descriptions for more info.

Public Variables

distance

Distance from origin to point.

Public Readonly
node

Node which contained the edge which was hit.

Public
origin

Start of the segment/ray.

Public
point

Hit point.

Public
tangent

Tangent of the edge which was hit.

Public
tangentOrigin

Where the tangent starts.

Public