UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
rcPolyMesh Struct Reference

#include <Recast.h>

Public Attributes

unsigned shortverts
 The mesh vertices. [Form: (x, y, z) * nverts].
 
unsigned shortpolys
 Polygon and neighbor data. [Length: maxpolys * 2 * nvp].
 
unsigned shortregs
 The region id assigned to each polygon. [Length: maxpolys].
 
unsigned shortflags
 The user defined flags for each polygon. [Length: maxpolys].
 
unsigned charareas
 The area id assigned to each polygon. [Length: maxpolys].
 
int nverts
 The number of vertices.
 
int npolys
 The number of polygons.
 
int maxpolys
 The number of allocated polygons.
 
int nvp
 The maximum number of vertices per polygon.
 
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.)
 
rcBorderSize borderSize
 The AABB border size used to generate the source data from which the mesh was derived. //@UE.
 

Detailed Description

Represents a polygon mesh suitable for use in building a navigation mesh.

Member Data Documentation

◆ areas

unsigned char* rcPolyMesh::areas

The area id assigned to each polygon. [Length: maxpolys].

◆ bmax

rcReal rcPolyMesh::bmax[3]

The maximum bounds in world space. [(x, y, z)].

◆ bmin

rcReal rcPolyMesh::bmin[3]

The minimum bounds in world space. [(x, y, z)].

◆ borderSize

rcBorderSize rcPolyMesh::borderSize

The AABB border size used to generate the source data from which the mesh was derived. //@UE.

◆ ch

rcReal rcPolyMesh::ch

The height of each cell. (The minimum increment along the y-axis.)

◆ cs

rcReal rcPolyMesh::cs

The size of each cell. (On the xz-plane.)

◆ flags

unsigned short* rcPolyMesh::flags

The user defined flags for each polygon. [Length: maxpolys].

◆ maxpolys

int rcPolyMesh::maxpolys

The number of allocated polygons.

◆ npolys

int rcPolyMesh::npolys

The number of polygons.

◆ nverts

int rcPolyMesh::nverts

The number of vertices.

◆ nvp

int rcPolyMesh::nvp

The maximum number of vertices per polygon.

◆ polys

unsigned short* rcPolyMesh::polys

Polygon and neighbor data. [Length: maxpolys * 2 * nvp].

◆ regs

unsigned short* rcPolyMesh::regs

The region id assigned to each polygon. [Length: maxpolys].

◆ verts

unsigned short* rcPolyMesh::verts

The mesh vertices. [Form: (x, y, z) * nverts].


The documentation for this struct was generated from the following file: