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