Navigation
Unreal Engine C++ API Reference > Runtime > Navmesh > Recast
References
Module | Navmesh |
Header | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
Include | #include "Recast/Recast.h" |
Syntax
struct rcConfig
Remarks
Specifies a configuration to use when performing Recast builds.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
rcReal[3] | bmax | The maximum bounds of the field's AABB. [(x, y, z)] [Units: wu]. |
![]() |
rcReal[3] | bmin | The minimum bounds of the field's AABB. [(x, y, z)] [Units: wu]. |
![]() |
int | borderSize | The size of the non-navigable border around the heightfield. [Limit: >=0] [Units: vx]. |
![]() |
rcReal | ch | The y-axis cell size to use for fields. [Limit: > 0] [Units: wu]. |
![]() |
rcReal | cs | The xz-plane cell size to use for fields. [Limit: > 0] [Units: wu]. |
![]() |
rcReal | detailSampleDist | Sets the sampling distance to use when generating the detail mesh. |
![]() |
rcReal | detailSampleMaxError | The maximum distance the detail mesh surface should deviate from heightfield data. |
![]() |
int | height | The height of the field along the z-axis. [Limit: >= 0] [Units: vx]. |
![]() |
int | maxEdgeLen | The maximum allowed length for contour edges along the border of the mesh. [Limit: >=0] [Units: vx]. |
![]() |
rcReal | maxSimplificationError | The maximum distance a simplified contour's border edges should deviate the original raw contour. |
![]() |
int | maxVertsPerPoly | The maximum number of vertices allowed for polygons generated during the contour to polygon conversion process. |
![]() |
int | mergeRegionArea | Any regions with a span count smaller than this value will, if possible, be merged with larger regions. |
![]() |
int | minRegionArea | The minimum number of cells allowed to form isolated island areas. [Limit: >=0] [Units: vx]. |
![]() |
int | regionChunkSize | Size of region chunk [Units: vx]. |
![]() |
int | regionPartitioning | Region partitioning method: creating poly mesh. |
![]() |
int | tileSize | The width/height size of tile's on the xz-plane. [Limit: >= 0] [Units: vx]. |
![]() |
int | walkableClimb | Maximum ledge height that is considered to still be traversable. [Limit: >=0] [Units: vx]. |
![]() |
int | walkableHeight | Minimum floor to 'ceiling' height that will still allow the floor area to be considered walkable. |
![]() |
int | walkableRadius | The distance to erode/shrink the walkable area of the heightfield away from obstructions. |
![]() |
rcReal | walkableSlopeAngle | The maximum slope that is considered walkable. [Limits: 0 <= value < 90] [Units: Degrees]. |
![]() |
int | width | The width of the field along the x-axis. [Limit: >= 0] [Units: vx]. |