A* Pathfinding Project  3.8.5
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 found.
 
readonly Vector3 position
 The position clamped to the closest point on the node.
 

Properties

Vector3 clampedPosition [get]
 The position clamped to the closest point on the node.
 

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 found.

readonly Vector3 position

The position clamped to the closest point on the node.

Property Documentation

Vector3 clampedPosition
get

The position clamped to the closest point on the node.

Deprecated:
This field has been renamed to position

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