Version: 2023.2
LanguageEnglish
  • C#

NavMeshBuildDebugFlags

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Bitmask used for operating with debug data from the NavMesh build process.

Used in two situations:

Additional resources: NavMeshBuildSettings.

Properties

NoneNo debug data from the NavMesh build process is taken into consideration.
InputGeometryThe triangles of all the geometry that is used as a base for computing the new NavMesh.
VoxelsThe voxels produced by rasterizing the source geometry into walkable and unwalkable areas.
RegionsThe segmentation of the traversable surfaces into smaller areas necessary for producing simple polygons.
RawContoursThe contours that follow precisely the edges of each surface region.
SimplifiedContoursContours bounding each of the surface regions, described through fewer vertices and straighter edges compared to RawContours.
PolygonMeshesMeshes of convex polygons constructed within the unified contours of adjacent regions.
PolygonMeshesDetailThe triangulated meshes with height details that better approximate the source geometry.
AllAll debug data from the NavMesh build process is taken into consideration.