Navigation
API > API/Runtime > API/Runtime/Navmesh
Description
Applies a median filter to walkable area types (based on area id), removing noise.
This filter is usually applied after applying area id's using functions such as rcMarkBoxArea, rcMarkConvexPolyArea, and rcMarkCylinderArea.
| Name | rcMedianFilterWalkableArea |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
| Include Path | #include "Recast/Recast.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Recast/RecastArea.cpp |
bool rcMedianFilterWalkableArea
(
rcContext * ctx,
rcCompactHeightfield & chf
)
True if the operation completed successfully.
Parameters
| Name | Remarks |
|---|---|
| ctx | The build context to use during the operation. |
| chf | A populated compact heightfield. |