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 rcMarkCylinderArea
(
rcContext * ctx,
const rcReal * pos,
const rcReal r,
const rcReal h,
unsigned char areaId,
rcCompactHeightfield & chf
)
Remarks
Applies the area id to all spans within the specified cylinder.
The value of spacial parameters are in world units.
Parameters
| Name | 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. |
See Also
rcMedianFilterWalkableArea