MNM::TileGenerator::IExtension

MNM::TileGenerator::IExtensionabstract

#include

Public Member Functions

virtual bool Generate (const SExtensionParams &params, IMesh &generatedMesh)=0

Detailed Description

Tile generator extension can inject addition navigation data into MNM tile during NavMesh generation.

Note
Methods of the extension may be called from the NavMesh generation jobs, which are executed on different threads. It's responsibility of extension to implement proper data access synchronization.

Member Function Documentation

◆ Generate()

virtual bool MNM::TileGenerator::IExtension::Generate ( const SExtensionParams & params,
IMesh & generatedMesh
)
pure virtual

Generate NavMesh

Parameters
paramsParameters of the tile generator.
generatedMeshHolds NavMesh being generated.
Returns
true if the generation should continue.