Function RecastGraph.SnapBoundsToScene

SnapBoundsToScene ()

Changes the bounds of the graph to precisely encapsulate all objects in the scene.

Public
void SnapBoundsToScene ()

Changes the bounds of the graph to precisely encapsulate all objects in the scene.

The bounds will be expanded to fit all objects in the scene which match the current scanning settings.

This method corresponds to the 'Snap bounds to scene' button in the inspector.