A* Pathfinding Project  4.3.5
The A* Pathfinding Project for Unity 3D
NNInfoInternal Struct Reference

Internal result of a nearest node query. More...

Detailed Description

Internal result of a nearest node query.

See also
NNInfo

Public Member Functions

 NNInfoInternal (GraphNode node)
 
void UpdateInfo ()
 Updates clampedPosition and constClampedPosition from node positions. More...
 

Public Attributes

Vector3 clampedPosition
 The position clamped to the closest point on the node. More...
 
Vector3 constClampedPosition
 Clamped position for the optional constrainedNode. More...
 
GraphNode constrainedNode
 Optional to be filled in. More...
 
GraphNode node
 Closest node found. More...
 

Constructor & Destructor Documentation

◆ NNInfoInternal()

Member Function Documentation

◆ UpdateInfo()

void UpdateInfo ( )

Updates clampedPosition and constClampedPosition from node positions.

Member Data Documentation

◆ clampedPosition

Vector3 clampedPosition

The position clamped to the closest point on the node.

◆ constClampedPosition

Vector3 constClampedPosition

Clamped position for the optional constrainedNode.

◆ constrainedNode

GraphNode constrainedNode

Optional to be filled in.

If the search will be able to find the constrained node without any extra effort it can fill it in.

◆ node

GraphNode node

Closest node found.

This node is not necessarily accepted by any NNConstraint passed.

See also
constrainedNode

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