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 rcMarkCylinderArea
(
rcContext * ctx,
const float * pos,
const float r,
const float h,
unsigned char areaId,
rcCompactHeightfield & chf
)
Applies the area id to all spans within the specified cylinder.
The value of spacial parameters are in world units.
Parameter |
Description |
---|---|
ctx |
The build context to use during the operation. |
pos |
The center of the base of the cylinder. [Form: (x, y, z)] |
r |
The radius of the cylinder. |
h |
The height of the cylinder. |
areaId |
The area id to apply. [Limit: <= #RC_WALKABLE_AREA] |
chf |
A populated compact heightfield. |
rcMedianFilterWalkableArea