MNM::TileGenerator::IMesh

MNM::TileGenerator::IMeshabstract

IMesh provides an access to the NavMesh which is being generated. More...

#include

Public Member Functions

virtual bool AddTrianglesWorld (const Triangle *pTrianglesWorld, const size_t count, const AreaAnnotation areaAnnotation)=0

Detailed Description

IMesh provides an access to the NavMesh which is being generated.

Member Function Documentation

◆ AddTrianglesWorld()

virtual bool MNM::TileGenerator::IMesh::AddTrianglesWorld ( const Triangle * pTrianglesWorld,
const size_t count,
const AreaAnnotation areaAnnotation
)
pure virtual

Add triangles to the tile's NavMesh.

Parameters
pTrianglesWorldArray of triangles in the world space.
countCount of triangles.
areaAnnotationTriangle annotation which will be set on all added triangles.
Returns
true if all triangles were added and there is more space left.