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