Navigation
API > API/Runtime > API/Runtime/Navmesh
A compact, static heightfield representing unobstructed space.
| Name | rcCompactHeightfield |
| Type | struct |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
| Include Path | #include "Recast/Recast.h" |
Syntax
struct rcCompactHeightfield
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| areas | unsigned char * | Array containing area id data. [Size: spanCount]. | Recast/Recast.h | |
| bmax | rcReal | The maximum bounds in world space. [(x, y, z)]. | Recast/Recast.h | |
| bmin | rcReal | The minimum bounds in world space. [(x, y, z)]. | Recast/Recast.h | |
| borderSize | rcBorderSize | The AABB border size used during the build of the field. (See: rcConfig::borderSize) //@UE. | Recast/Recast.h | |
| cells | rcCompactCell * | Array of cells. [Size: width*height]. | Recast/Recast.h | |
| ch | rcReal | The height of each cell. (The minimum increment along the y-axis.) | Recast/Recast.h | |
| cs | rcReal | The size of each cell. (On the xz-plane.) | Recast/Recast.h | |
| dist | unsigned short * | Array containing border distance data. [Size: spanCount]. | Recast/Recast.h | |
| height | int | The height of the heightfield. (Along the z-axis in cell units.) | Recast/Recast.h | |
| maxDistance | unsigned short | The maximum distance value of any span within the field. | Recast/Recast.h | |
| maxRegions | unsigned short | The maximum region id of any span within the field. | Recast/Recast.h | |
| spanCount | int | The number of spans in the heightfield. | Recast/Recast.h | |
| spans | rcCompactSpan * | Array of spans. [Size: spanCount]. | Recast/Recast.h | |
| walkableClimb | int | The walkable climb used during the build of the field. (See: rcConfig::walkableClimb) | Recast/Recast.h | |
| walkableHeight | int | The walkable height used during the build of the field. (See: rcConfig::walkableHeight) | Recast/Recast.h | |
| width | int | The width of the heightfield. (Along the x-axis in cell units.) | Recast/Recast.h |