17 class NavGraphManager;
38 void SetNavGraphManager(NavGraphManager* navGraphManager);
44 void UpdateNavMeshAccordingToGuidCompound(
CellBox& activenessChangeCellBox,
bool forceActiveIfAlone =
false);
65 ActiveGuids m_activatedGuids;
66 GuidCompoundUpdater m_guidCompoundUpdater;
73 KY_INLINE NavMeshElementManager::~NavMeshElementManager() { Clear(); }
80 return m_navMeshElements[idx];
83 KY_INLINE
void NavMeshElementManager::UpdateNavMeshAccordingToGuidCompound(
CellBox& activenessChangeCellBox,
bool forceActiveIfAlone)
85 m_guidCompoundUpdater.UpdateNavMeshAccordingToGuidCompound(m_activatedGuids, activenessChangeCellBox, forceActiveIfAlone);
bool IsCompatibleWith(const NavMeshGenParameters &navMeshGenParameters) const
Indicates whether the specified NavMeshElement was created with the same generation parameters as the...
Definition: navmeshelementmanager.cpp:94
KyResult CheckGenerationParameters(const NavMeshGenParameters &navMeshGenParameters)
Called internally before adding a NavMeshElement to the NavMeshElementManager.
Definition: navmeshelementmanager.cpp:80
2d axis aligned box of 32bits integers. Very Important: CountX() returns m_max.x - m_min...
Definition: box2i.h:17
This class is a runtime wrapper of a NavMeshElementBlob.
Definition: navmeshelement.h:21
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
TrackedCollection is a class which is a "Collection" of T=C* or T = Ptr< c="" /> (not sorted...
Definition: collection.h:77
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:196
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
NavMeshElement * GetNavMeshElement(KyUInt32 idx) const
Retrieves the NavMesh with the specified index from within the list of NavMeshes in the NavMeshElemen...
Definition: navmeshelementmanager.h:77
This class is a runtime container for all NavData that represents the world from the point of view of...
Definition: database.h:57
This object indicates the settings used to generate the NavMeshElementBlob, and thereby the physical ...
Definition: navmeshelementblob.h:22
Navigation return code class.
Definition: types.h:108
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
The NavMeshElementBlob contains the NavMesh static data (a set of NavCellBlob) for an element (a Guid...
Definition: navmeshelementblob.h:46
KyUInt32 GetNavMeshElementCount() const
Indicates the number of NavMeshes that have been added to the NavMeshElementManager.
Definition: navmeshelementmanager.h:75
This class is a runtime container for the all NavMeshElement that are created from the NavMeshElement...
Definition: navmeshelementmanager.h:23