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 rcHeightfieldLayer
Remarks
Represents a heightfield layer within a layer set.
Variables
| Type | Name | Description | |
|---|---|---|---|
| unsigned char * | areas | Area ids. [Size: Same as heights]. | |
| rcReal[3] | bmax | The maximum bounds in world space. [(x, y, z)]. | |
| rcReal[3] | bmin | The minimum bounds in world space. [(x, y, z)]. | |
| rcReal | ch | The height of each cell. (The minimum increment along the y-axis.) | |
| unsigned char * | cons | Packed neighbor connection information. [Size: Same as heights]. | |
| rcReal | cs | The size of each cell. (On the xz-plane.) | |
| int | height | The height of the heightfield. (Along the z-axis in cell units.) | |
| unsigned short * | heights | The heightfield. [Size: (width - borderSize*2) * (h - borderSize*2)]. | |
| int | hmax | The maximum height bounds of usable data. (Along the y-axis.) | |
| int | hmin | The minimum height bounds of usable data. (Along the y-axis.) //. | |
| int | maxx | The maximum x-bounds of usable data. | |
| int | maxy | The maximum y-bounds of usable data. (Along the z-axis.) | |
| int | minx | The minimum x-bounds of usable data. | |
| int | miny | The minimum y-bounds of usable data. (Along the z-axis.) | |
| int | width | The width of the heightfield. (Along the x-axis in cell units.) |