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 rcPolyMesh
Remarks
Represents a polygon mesh suitable for use in building a navigation mesh.
Variables
| Type | Name | Description | |
|---|---|---|---|
| unsigned char * | areas | The area id assigned to each polygon. [Length: maxpolys]. | |
| 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 to generate the source data from which the mesh was derived. | |
| 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 * | flags | The user defined flags for each polygon. [Length: maxpolys]. | |
| int | maxpolys | The number of allocated polygons. | |
| int | npolys | The number of polygons. | |
| int | nverts | The number of vertices. | |
| int | nvp | The maximum number of vertices per polygon. | |
| unsigned short * | polys | Polygon and neighbor data. [Length: maxpolys * 2 * nvp]. | |
| unsigned short * | regs | The region id assigned to each polygon. [Length: maxpolys]. | |
| unsigned short * | verts | The mesh vertices. [Form: (x, y, z) * nverts]. |