A* Pathfinding Project  4.0.3
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
NNInfo Struct Reference

Result of a nearest node query. More...

Detailed Description

Result of a nearest node query.

Public Member Functions

 NNInfo (NNInfoInternal internalInfo)
 

Static Public Member Functions

static operator GraphNode (NNInfo ob)
 
static operator Vector3 (NNInfo ob)
 

Public Attributes

readonly GraphNode node
 Closest node.
 
readonly Vector3 position
 Closest point on the navmesh.
 

Properties

Vector3 clampedPosition [get]
 Closest point on the navmesh.
 

Constructor & Destructor Documentation

NNInfo ( NNInfoInternal  internalInfo)

Member Function Documentation

static operator GraphNode ( NNInfo  ob)
explicitstatic
static operator Vector3 ( NNInfo  ob)
explicitstatic

Member Data Documentation

readonly GraphNode node

Closest node.

readonly Vector3 position

Closest point on the navmesh.

This is the query position clamped to the closest point on the node.

Property Documentation

Vector3 clampedPosition
get

Closest point on the navmesh.

Deprecated:
This field has been renamed to position

The documentation for this struct was generated from the following file: