A* Pathfinding Project
3.1.4
The A* Pathfinding Project for Unity 3D
|
Public Member Functions | |
NNInfo (Node node) | |
void | SetConstrained (Node constrainedNode, Vector3 clampedPosition) |
Sets the constrained node. | |
void | UpdateInfo () |
Updates clampedPosition and constClampedPosition from node positions. | |
Static Public Member Functions | |
static | operator NNInfo (Node ob) |
static | operator Node (NNInfo ob) |
static | operator Vector3 (NNInfo ob) |
Public Attributes | |
Vector3 | clampedPosition |
The position clamped to the closest point on the node. | |
Vector3 | constClampedPosition |
Clamped position for the optional constrainedNode. | |
Node | constrainedNode |
Optional to be filled in. | |
Node | node |
Closest node found. | |
Node 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 node |
Closest node found.
This node is not necessarily accepted by any NNConstraint passed.