Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
Include |
#include "Recast/Recast.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/Recast/RecastLayers.cpp |
bool rcBuildHeightfieldLayersMonotone
(
rcContext * ctx,
rcCompactHeightfield & chf,
const int borderSize,
const int walkableHeight,
rcHeightfieldLayerSet & lset
)
Builds a layer set from the specified compact heightfield.
See the rcConfig documentation for more information on the configuration parameters.
True if the operation completed successfully.
Parameter |
Description |
---|---|
ctx |
The build context to use during the operation. |
chf |
A fully built compact heightfield. |
borderSize |
The size of the non-navigable border around the heightfield. [Limit: >=0] [Units: vx] |
walkableHeight |
Minimum floor to 'ceiling' height that will still allow the floor area to be considered walkable. [Limit: >= 3] [Units: vx] |
lset |
The resulting layer set. (Must be pre-allocated.) |