Function FloodPath.IsValid
bool IsValid (
nodeStorage |
Checks if the flood path data is still valid.
This check is quite strict, not allowing any nodes to have been destroyed since the path was calculated. The reason for this strictness is that if a node has been destroyed, and then a node has been created, they may end up sharing the same node index. This could cause the path generated by a FloodPathTracer to be completely messed up if it would have passed through the destroyed node.