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" |
Syntax
struct rcCompactHeightfield
Remarks
A compact, static heightfield representing unobstructed space.
Variables
| Type | Name | Description | |
|---|---|---|---|
| unsigned char * | areas | Array containing area id data. [Size: spanCount]. | |
| rcReal[3] | bmax | The maximum bounds in world space. [(x, y, z)]. | |
| rcReal[3] | bmin | The minimum bounds in world space. [(x, y, z)]. | |
| int | borderSize | The AABB border size used during the build of the field. (See: rcConfig::borderSize) | |
| rcCompactCell * | cells | Array of cells. [Size: width*height]. | |
| rcReal | ch | The height of each cell. (The minimum increment along the y-axis.) | |
| rcReal | cs | The size of each cell. (On the xz-plane.) | |
| unsigned short * | dist | Array containing border distance data. [Size: spanCount]. | |
| int | height | The height of the heightfield. (Along the z-axis in cell units.) | |
| unsigned short | maxDistance | The maximum distance value of any span within the field. | |
| unsigned short | maxRegions | The maximum region id of any span within the field. | |
| int | spanCount | The number of spans in the heightfield. | |
| rcCompactSpan * | spans | Array of spans. [Size: spanCount]. | |
| int | walkableClimb | The walkable climb used during the build of the field. (See: rcConfig::walkableClimb) | |
| int | walkableHeight | The walkable height used during the build of the field. (See: rcConfig::walkableHeight) | |
| int | width | The width of the heightfield. (Along the x-axis in cell units.) |