Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
Include |
#include "Recast/Recast.h" |
struct rcPolyMesh
Represents a polygon mesh suitable for use in building a navigation mesh.
Name | Description | ||
---|---|---|---|
|
unsigned char &... |
areas |
The area id assigned to each polygon. [Length: [maxpolys](API\Runtime\Navmesh\Recast\rcPolyMesh\maxpolys)]. |
|
float[3] |
bmax |
The maximum bounds in world space. [(x, y, z)]. |
|
float[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. |
|
float |
ch |
The height of each cell. (The minimum increment along the y-axis.) |
|
float |
cs |
The size of each cell. (On the xz-plane.) |
|
unsigned short ... |
flags |
The user defined flags for each polygon. [Length: [maxpolys](API\Runtime\Navmesh\Recast\rcPolyMesh\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](API\Runtime\Navmesh\Recast\rcPolyMesh\maxpolys) * 2 * [nvp](API\Runtime\Navmesh\Recast\rcPolyMesh\nvp)]. |
|
unsigned short ... |
regs |
The region id assigned to each polygon. [Length: [maxpolys](API\Runtime\Navmesh\Recast\rcPolyMesh\maxpolys)]. |
|
unsigned short ... |
verts |
The mesh vertices. [Form: (x, y, z) * [nverts](API\Runtime\Navmesh\Recast\rcPolyMesh\nverts)]. |