rcConfig

Specifies a configuration to use when performing Recast builds.

Windows
MacOS
Linux

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

Name Description

Public variable

float[3]

 

bmax

The maximum bounds of the field's AABB. [(x, y, z)] [Units: wu].

Public variable

float[3]

 

bmin

The minimum bounds of the field's AABB. [(x, y, z)] [Units: wu].

Public variable

int

 

borderSize

The size of the non-navigable border around the heightfield. [Limit: >=0] [Units: vx].

Public variable

float

 

ch

The y-axis cell size to use for fields. [Limit: > 0] [Units: wu].

Public variable

float

 

cs

The xz-plane cell size to use for fields. [Limit: > 0] [Units: wu].

Public variable

float

 

detailSampleDist

Sets the sampling distance to use when generating the detail mesh.

Public variable

float

 

detailSampleMaxError

The maximum distance the detail mesh surface should deviate from heightfield data.

Public variable

int

 

height

The height of the field along the z-axis. [Limit: >= 0] [Units: vx].

Public variable

int

 

maxEdgeLen

The maximum allowed length for contour edges along the border of the mesh. [Limit: >=0] [Units: vx].

Public variable

float

 

maxSimplificationError

The maximum distance a simplified contour's border edges should deviate the original raw contour.

Public variable

int

 

maxVertsPerPoly

The maximum number of vertices allowed for polygons generated during the contour to polygon conversion process.

Public variable

int

 

mergeRegionArea

Any regions with a span count smaller than this value will, if possible, be merged with larger regions.

Public variable

int

 

minRegionArea

The minimum number of cells allowed to form isolated island areas. [Limit: >=0] [Units: vx].

Public variable

int

 

regionChunkSize

Size of region chunk [Units: vx].

Public variable

int

 

regionPartitioning

Region partitioning method: creating poly mesh.

Public variable

int

 

tileSize

The width/height size of tile's on the xz-plane. [Limit: >= 0] [Units: vx].

Public variable

int

 

walkableClimb

Maximum ledge height that is considered to still be traversable. [Limit: >=0] [Units: vx].

Public variable

int

 

walkableHeight

Minimum floor to 'ceiling' height that will still allow the floor area to be considered walkable.

Public variable

int

 

walkableRadius

The distance to erode/shrink the walkable area of the heightfield away from obstructions.

Public variable

float

 

walkableSlopeAngle

The maximum slope that is considered walkable. [Limits: 0 <= value < 90] [Units: Degrees].

Public variable

int

 

width

The width of the field along the x-axis. [Limit: >= 0] [Units: vx].

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss