Navigation
API > API/Runtime > API/Runtime/Navmesh
Description
Merges multiple polygon meshes into a single mesh.
| Name | rcMergePolyMeshes |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
| Include Path | #include "Recast/Recast.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Recast/RecastMesh.cpp |
bool rcMergePolyMeshes
(
rcContext * ctx,
rcPolyMesh ** meshes,
const int nmeshes,
rcPolyMesh & mesh
)
True if the operation completed successfully.
Parameters
| Name | Remarks |
|---|---|
| ctx | The build context to use during the operation. |
| meshes | An array of polygon meshes to merge. [Size: nmeshes] |
| nmeshes | The number of polygon meshes in the meshes array. |
| mesh | The resulting polygon mesh. (Must be pre-allocated.) |
See Also
-
rcAllocPolyMesh