rcPolyMesh

BEGIN

Windows
MacOS
Linux

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

Name Description

Public variable

unsigned char &...

 

areas

The area id assigned to each polygon. [Length: [maxpolys](API\Runtime\Navmesh\Recast\rcPolyMesh\maxpolys)].

Public variable

float[3]

 

bmax

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

Public variable

float[3]

 

bmin

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

Public variable

int

 

borderSize

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

Public variable

float

 

ch

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

Public variable

float

 

cs

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

Public variable

unsigned short ...

 

flags

The user defined flags for each polygon. [Length: [maxpolys](API\Runtime\Navmesh\Recast\rcPolyMesh\maxpolys)].

Public variable

int

 

maxpolys

The number of allocated polygons.

Public variable

int

 

npolys

The number of polygons.

Public variable

int

 

nverts

The number of vertices.

Public variable

int

 

nvp

The maximum number of vertices per polygon.

Public variable

unsigned short ...

 

polys

Polygon and neighbor data. [Length: [maxpolys](API\Runtime\Navmesh\Recast\rcPolyMesh\maxpolys) * 2 * [nvp](API\Runtime\Navmesh\Recast\rcPolyMesh\nvp)].

Public variable

unsigned short ...

 

regs

The region id assigned to each polygon. [Length: [maxpolys](API\Runtime\Navmesh\Recast\rcPolyMesh\maxpolys)].

Public variable

unsigned short ...

 

verts

The mesh vertices. [Form: (x, y, z) * [nverts](API\Runtime\Navmesh\Recast\rcPolyMesh\nverts)].

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss