Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NavMeshBuildDebugFlags

Bitmask used for operating with debug data from the NavMesh build process.
Read time 1 minuteLast updated 12 days ago

Definition

[Flags]public enum NavMeshBuildDebugFlags

Remarks

Used in two situations:
Additional Resources: NavMeshBuildSettings.

Fields

Value

Description

AllAll 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.
NoneNo debug data from the NavMesh build process is taken into consideration.
PolygonMeshesMeshes of convex polygons constructed within the unified contours of adjacent regions.
PolygonMeshesDetailThe triangulated meshes with height details that better approximate the source geometry.
RawContoursThe contours that follow precisely the edges of each surface region.
RegionsThe segmentation of the traversable surfaces into smaller areas necessary for producing simple polygons.
SimplifiedContoursContours bounding each of the surface regions, described through fewer vertices and straighter edges compared to NavMeshBuildDebugFlags.RawContours.
VoxelsThe voxels produced by rasterizing the source geometry into walkable and unwalkable areas.