A* Pathfinding Project
4.0.8
The A* Pathfinding Project for Unity 3D
|
Internal result of a nearest node query. More...
Internal result of a nearest node query.
Public Member Functions | |
NNInfoInternal (GraphNode node) | |
void | UpdateInfo () |
Updates clampedPosition and constClampedPosition from node positions. | |
Public Attributes | |
Vector3 | clampedPosition |
The position clamped to the closest point on the node. | |
Vector3 | constClampedPosition |
Clamped position for the optional constrainedNode. | |
GraphNode | constrainedNode |
Optional to be filled in. | |
GraphNode | node |
Closest node found. | |
NNInfoInternal | ( | GraphNode | node | ) |
void UpdateInfo | ( | ) |
Updates clampedPosition and constClampedPosition from node positions.
Vector3 clampedPosition |
The position clamped to the closest point on the node.
Vector3 constClampedPosition |
Clamped position for the optional 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.
GraphNode node |
Closest node found.
This node is not necessarily accepted by any NNConstraint passed.