位掩码,用于与导航网格构建过程的调试数据结合使用。
可在以下两种情况下使用:
- 在 NavMeshBuildSettings.debug 中指定应在构建完成后保留哪些调试数据,从而保留世界位置和方向;
- 作为 NavMeshEditorHelpers.DrawBuildDebug 的参数,控制针对特定导航网格可以显示哪些调试数据类型。\
\
另请参阅:NavMeshBuildSettings。
None | 导航网格构建过程中的所有调试数据均不考虑在内。 |
InputGeometry | 作为计算新导航网格的基础使用的整个几何体的三角形。 |
Voxels | 将源几何体光栅化为可行走区域和不可行走区域时生成的体素。 |
Regions | 将可遍历表面细分为生成简单多边形所必需的较小区域。 |
RawContours | 紧贴每个表面区域边缘的轮廓。 |
SimplifiedContours | 包围每个表面区域的轮廓,与 RawContours 相比,顶点更少,边缘更直。 |
PolygonMeshes | 在相邻区域的统一轮廓内构建的凸多边形网格。 |
PolygonMeshesDetail | 高度细节较为接近源几何体的三角形网格。 |
All | 导航网格构建过程中的所有调试数据均考虑在内。 |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.