Navigation
API > API/Runtime > API/Runtime/Navmesh
Represents a polygon mesh suitable for use in building a navigation mesh.
| Name | rcPolyMesh |
| Type | struct |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
| Include Path | #include "Recast/Recast.h" |
Syntax
struct rcPolyMesh
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| areas | unsigned char * | The area id assigned to each polygon. [Length: maxpolys]. | 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 to generate the source data from which the mesh was derived. //@UE. | 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 | |
| flags | unsigned short * | The user defined flags for each polygon. [Length: maxpolys]. | Recast/Recast.h | |
| maxpolys | int | The number of allocated polygons. | Recast/Recast.h | |
| npolys | int | The number of polygons. | Recast/Recast.h | |
| nverts | int | The number of vertices. | Recast/Recast.h | |
| nvp | int | The maximum number of vertices per polygon. | Recast/Recast.h | |
| polys | unsigned short * | Polygon and neighbor data. [Length: maxpolys * 2 * nvp]. | Recast/Recast.h | |
| regs | unsigned short * | The region id assigned to each polygon. [Length: maxpolys]. | Recast/Recast.h | |
| verts | unsigned short * | The mesh vertices. [Form: (x, y, z) * nverts]. | Recast/Recast.h |