Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
Include |
#include "Recast/Recast.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/Recast/RecastArea.cpp |
bool rcMedianFilterWalkableArea
(
rcContext * ctx,
rcCompactHeightfield & chf
)
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.
True if the operation completed successfully.
Parameter |
Description |
---|---|
ctx |
The build context to use during the operation. |
chf |
A populated compact heightfield. |