Struct GraphHitInfo

Public

Returned by graph ray- or linecasts containing info about the hit.

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

Public Methods

GraphHitInfo (point)
Public

Public Variables

distance

Distance from origin to point.

Public
node

Node which contained the edge which was hit.

Public
origin

Start of the line/ray.

Public
point

Hit point.

Public
tangent

Tangent of the edge which was hit.

Public
tangentOrigin

Where the tangent starts.

Public