Vixen
02b45cc4
csharp
public enum NavMeshPartitioning

How the walkable surface is cut into the regions that become polygons.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Both produce correct navmeshes. The difference is the shape of the polygons, which costs nothing to get wrong and something to get right: fewer, fatter polygons are fewer search nodes and fewer corners for the funnel to consider.

Fields and properties (2)

  • Watershed

    Regions grow out from the ridges of a distance field. The better answer, and the default.

  • Monotone

    Regions grow from runs of connected cells swept row by row. Faster, striped.

Used by (6)

  • BakeBenchmarksVixen.Benchmarks.Navigation
  • NavMeshBakerVixen.Navigation
  • NavMeshBuildSettingsVixen.Navigation
  • WatershedTestsVixen.Navigation.Tests
  • NavMeshImportSettingsVixen.Editor.Assets
  • TypeRegistrationVixen.Editor.Assets