Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/Recast
References
| Module | Navmesh |
| Header | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
| Include | #include "Recast/Recast.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Recast/RecastArea.cpp |
void rcReplaceBoxArea
(
rcContext * ctx,
const rcReal * bmin,
const rcReal * bmax,
unsigned char areaId,
unsigned char filterAreaId,
rcCompactHeightfield & chf
)
Remarks
Replaces an area id in spans with matching filter area within the specified bounding box. (AABB)
The value of spacial parameters are in world units.
Parameters
| Name | Description |
|---|---|
| ctx | The build context to use during the operation. |
| bmin | The minimum of the bounding box. [(x, y, z)] |
| bmax | The maximum of the bounding box. [(x, y, z)] |
| areaId | The area id to apply. [Limit: <= RC_WALKABLE_AREA] |
| chf | A populated compact heightfield. |
See Also
rcMedianFilterWalkableArea