Version: 2019.1

NavMeshBuildDebugFlags

enumeration

Switch to Manual

Description

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

Used in two situations:
- within NavMeshBuildSettings.debug to specify which debug data to retain after the build process has completed, preserving the world position and orientation;
- as a parameter of NavMeshEditorHelpers.DrawBuildDebug to control which of the available debug data types to display for a specified NavMesh.

See Also: NavMeshBuildSettings.

Variables

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.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961