Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
Include |
#include "Recast/Recast.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/Recast/RecastMesh.cpp |
bool rcBuildPolyMesh
(
rcContext * ctx,
rcContourSet & cset,
const int nvp,
rcPolyMesh & mesh
)
Builds a polygon mesh from the provided contours.
If the mesh data is to be used to construct a Detour navigation mesh, then the upper limit must be retricted to <= #DT_VERTS_PER_POLYGON.
True if the operation completed successfully.
Parameter |
Description |
---|---|
ctx |
The build context to use during the operation. |
cset |
A fully built contour set. |
nvp |
The maximum number of vertices allowed for polygons generated during the contour to polygon conversion process. [Limit: >= 3] |
mesh |
The resulting polygon mesh. (Must be re-allocated.) |