![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Recast.h>
Public Attributes | |
| int | width |
| The width of the heightfield. (Along the x-axis in cell units.) | |
| int | height |
| The height of the heightfield. (Along the z-axis in cell units.) | |
| int | spanCount |
| The number of spans in the heightfield. | |
| int | walkableHeight |
| The walkable height used during the build of the field. (See: rcConfig::walkableHeight) | |
| int | walkableClimb |
| The walkable climb used during the build of the field. (See: rcConfig::walkableClimb) | |
| rcBorderSize | borderSize |
| The AABB border size used during the build of the field. (See: rcConfig::borderSize) //@UE. | |
| 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. | |
| rcReal | bmin [3] |
| The minimum bounds in world space. [(x, y, z)]. | |
| rcReal | bmax [3] |
| The maximum bounds in world space. [(x, y, z)]. | |
| rcReal | cs |
| The size of each cell. (On the xz-plane.) | |
| rcReal | ch |
| The height of each cell. (The minimum increment along the y-axis.) | |
| rcCompactCell * | cells |
| Array of cells. [Size: width*height]. | |
| rcCompactSpan * | spans |
| Array of spans. [Size: spanCount]. | |
| unsigned short * | dist |
| Array containing border distance data. [Size: spanCount]. | |
| unsigned char * | areas |
| Array containing area id data. [Size: spanCount]. | |
A compact, static heightfield representing unobstructed space.
| rcReal rcCompactHeightfield::bmax[3] |
The maximum bounds in world space. [(x, y, z)].
| rcReal rcCompactHeightfield::bmin[3] |
The minimum bounds in world space. [(x, y, z)].
| rcBorderSize rcCompactHeightfield::borderSize |
The AABB border size used during the build of the field. (See: rcConfig::borderSize) //@UE.
| rcCompactCell* rcCompactHeightfield::cells |
| rcReal rcCompactHeightfield::ch |
The height of each cell. (The minimum increment along the y-axis.)
| rcReal rcCompactHeightfield::cs |
The size of each cell. (On the xz-plane.)
Array containing border distance data. [Size: spanCount].
| int rcCompactHeightfield::height |
The height of the heightfield. (Along the z-axis in cell units.)
The maximum distance value of any span within the field.
| int rcCompactHeightfield::spanCount |
The number of spans in the heightfield.
| rcCompactSpan* rcCompactHeightfield::spans |
Array of spans. [Size: spanCount].
| int rcCompactHeightfield::walkableClimb |
The walkable climb used during the build of the field. (See: rcConfig::walkableClimb)
| int rcCompactHeightfield::walkableHeight |
The walkable height used during the build of the field. (See: rcConfig::walkableHeight)
| int rcCompactHeightfield::width |
The width of the heightfield. (Along the x-axis in cell units.)