Function EuclideanEmbeddingSearchPath.OnFoundEndNode

OnFoundEndNode (uint pathNode, uint hScore, uint gScore)

Called when a valid node has been found for the end of the path.

Protected
void OnFoundEndNode (

uint

pathNode

uint

hScore

uint

gScore

)

Called when a valid node has been found for the end of the path.

This function should trace the path back to the start node, and set CompleteState to Complete. If CompleteState is unchanged, the search will continue.