Class GraphUtilities


Contains utility methods for getting useful information out of graph.

This class works a lot with the Pathfinding.GraphNode class, a useful function to get nodes is AstarPath.GetNearest.

Public Static Methods

GetContours (grid, callback, yMergeThreshold, nodes=null, connectionFilter=null)

Finds all contours of a collection of nodes in a grid graph.

Public Static
GetContours (graph)

Convenience method to get a list of all segments of the contours of a graph.

Public Static
GetContours (navmesh, results)

Traces the contour of a navmesh.

Public Static