Struct NNInfo

Public

Result of a nearest node query.

See

AstarPath.GetNearest

Public Methods

NNInfo (node, position, distanceCostSqr)
Public

Public Static Methods

operator GraphNode (ob)
Public Static
operator Vector3 (ob)
Public Static

Public Variables

distanceCostSqr

Cost for picking this node as the closest node.

Public Readonly
node

Closest node.

Public Readonly
position

Closest point on the navmesh.

Public Readonly

Public Static Variables

Empty
Public Static Readonly

Deprecated Members

clampedPosition

Closest point on the navmesh.

Public