Navigation
API > API/Runtime > API/Runtime/Navmesh
Represents a heightfield layer within a layer set.
| Name | rcHeightfieldLayer |
| Type | struct |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
| Include Path | #include "Recast/Recast.h" |
Syntax
struct rcHeightfieldLayer
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| areas | unsigned char * | Area ids. [Size: Same as heights]. | 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 | |
| ch | rcReal | The height of each cell. (The minimum increment along the y-axis.) | Recast/Recast.h | |
| cons | unsigned char * | Packed neighbor connection information. [Size: Same as heights]. | Recast/Recast.h | |
| cs | rcReal | The size of each cell. (On the xz-plane.) | Recast/Recast.h | |
| height | int | The height of the heightfield. (Along the z-axis in cell units.) | Recast/Recast.h | |
| heights | unsigned short * | The heightfield. [Size: (width - borderSize*2) * (h - borderSize*2)]. | Recast/Recast.h | |
| hmax | int | The maximum height bounds of usable data. (Along the y-axis.) | Recast/Recast.h | |
| hmin | int | The minimum height bounds of usable data. (Along the y-axis.) //. | Recast/Recast.h | |
| maxx | int | The maximum x-bounds of usable data. | Recast/Recast.h | |
| maxy | int | The maximum y-bounds of usable data. (Along the z-axis.) | Recast/Recast.h | |
| minx | int | The minimum x-bounds of usable data. | Recast/Recast.h | |
| miny | int | The minimum y-bounds of usable data. (Along the z-axis.) | Recast/Recast.h | |
| width | int | The width of the heightfield. (Along the x-axis in cell units.) | Recast/Recast.h |