Navigation
API > API/Runtime > API/Runtime/Navmesh
Description
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.
| Name | rcReplaceBoxArea |
| 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 |
void rcReplaceBoxArea
(
rcContext * ctx,
const rcReal * bmin,
const rcReal * bmax,
unsigned char areaId,
unsigned char filterAreaId,
rcCompactHeightfield & chf
)
Parameters
| Name | Remarks |
|---|---|
| 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