Module |
|
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 float * bmin,
const float * bmax,
unsigned char areaId,
unsigned char filterAreaId,
rcCompactHeightfield & chf
)
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.
Parameter |
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. |
rcMedianFilterWalkableArea