Atoms Crowd
7.0.0
|
Container for all agent types. More...
#include <NavigationMeshes.h>
Public Member Functions | |
NavigationMeshes () | |
Constructor. | |
NavigationMeshes (const NavigationMeshes &) | |
Copy constructor. | |
~NavigationMeshes () | |
Destructor. | |
NavigationMeshes & | operator= (const NavigationMeshes &) |
Private assign operator. | |
AtomsPtr< AtomsUtils::NavMesh > | navMesh (const std::string &name) |
Gets an nav mesh. More... | |
AtomsUtils::NavMesh * | navMeshPtr (const std::string &name) |
Gets an nav mesh. More... | |
AtomsWPtr< AtomsUtils::NavMesh > | navMeshWPtr (const std::string &name) |
Gets an nav mesh. More... | |
bool | hasNavMesh (const std::string &name) |
Checks if an nav mesh with the given name exists. | |
void | addNavMesh (const std::string &name, AtomsPtr< AtomsUtils::NavMesh > &navmesh, bool replace=false) |
Adds an nav mesh to the map. More... | |
void | insertNavMesh (const std::string &name, AtomsPtr< AtomsUtils::NavMesh > &navmesh, bool replace=false) |
Adds an nav mesh to the map. | |
void | removeNavMesh (const std::string &name) |
Removes an nav mesh from the map. More... | |
std::vector< std::string > | navMeshNames () |
Gets all nav mesh names. More... | |
bool | navMeshExists (const std::string &name) |
Checks if a nav mesh exists. More... | |
unsigned int | numNavMeshes () |
Gets the number of nav mesh. | |
void | clear () |
Removes all nav meshes. | |
NavMeshMap::iterator | begin () |
NavMeshMap::iterator | end () |
Static Public Member Functions | |
static NavigationMeshes & | instance () |
Singleton access. | |
Container for all agent types.
void Atoms::NavigationMeshes::addNavMesh | ( | const std::string & | name, |
AtomsPtr< AtomsUtils::NavMesh > & | navmesh, | ||
bool | replace = false |
||
) |
Adds an nav mesh to the map.
name | nav mesh name |
navmesh | nav mesh |
AtomsPtr<AtomsUtils::NavMesh> Atoms::NavigationMeshes::navMesh | ( | const std::string & | name | ) |
Gets an nav mesh.
name | nav mesh name |
bool Atoms::NavigationMeshes::navMeshExists | ( | const std::string & | name | ) |
Checks if a nav mesh exists.
name | nav mesh name |
std::vector<std::string> Atoms::NavigationMeshes::navMeshNames | ( | ) |
Gets all nav mesh names.
AtomsUtils::NavMesh* Atoms::NavigationMeshes::navMeshPtr | ( | const std::string & | name | ) |
Gets an nav mesh.
name | nav mesh name |
AtomsWPtr<AtomsUtils::NavMesh> Atoms::NavigationMeshes::navMeshWPtr | ( | const std::string & | name | ) |
Gets an nav mesh.
name | nav mesh name |
void Atoms::NavigationMeshes::removeNavMesh | ( | const std::string & | name | ) |
Removes an nav mesh from the map.
name | nav mesh name |