16 class ActiveNavFloorCollection;
20 class DynamicNavMeshQuery;
21 class StaticToDynamicHalfEdge;
60 NavCell(
const NavCellBlob& navCellBlob);
66 static KyUInt32 ComputeSizeForNavCell(
const NavCellBlob& navCellBlob);
67 static NavCell* PlaceNavCellInBuffer(
const BlobRef<NavCellBlob>& navCellRef, Database* database, NavMeshElement* navMeshElement,
char*& currentMemoryPlace);
75 void RestoreStaticNavFloorAsActive(
NavFloorIdx floorIdx);
76 void SetNewDynamicVersionOfNavFloor(
NavFloorIdx floorIdx, BlobHandler<NavFloorBlob>* navFloorBlobHandler);
91 Ptr<NavFloor> m_staticNavFloor;
92 Ptr<NavFloor> m_activeNavFloor;
93 Ptr<BaseBlobHandler> m_blobHandlerOfDynamicNavFloor;
94 NavFloor1To1StitchData m_floor1To1StitchData;
97 const NavFloorBlob* GetFutureActiveNavFloorBlob(
KyUInt32 floorIdx);
105 Ptr<DynamicNavMeshQuery> m_dynamicNavMeshQuery;
114 bool m_mustLaunchRuntimStitchQuery;
const GuidCompound & GetGuidCompound() const
Returns the GuidCompound that uniquely identifies this NavMeshElement.
Definition: navmeshelement.h:40
This class is a runtime wrapper of a NavMeshElementBlob.
Definition: navmeshelement.h:21
This class is a runtime wrapper of a NavFloorBlob, it gathers all the runtime information associated ...
Definition: navfloor.h:32
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
KyUInt8 m_currentActivenessStatus
Current ActivenessStatus. Do not modify.
Definition: navcell.h:111
The NavCellBlob contains the NavMesh static data of a NavMeshElement at a CellPos.
Definition: navcellblob.h:19
KyUInt8 m_nextActivenessStatus
this is a temporary ActivenessStatus value used by the NavCellGrid when updating the database...
Definition: navcell.h:112
MetaNavFloor * m_metaNavFloorBuffer
m_metaNavFloorBuffer
Definition: navcell.h:103
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:196
const GuidCompound & GetGuidCompound() const
Returns the GuidCompound that identifies the NavMeshElement that contains this NavCell.
Definition: navcell.h:41
const NavCellBlob * m_navCellBlob
The NavCellBlob that contains the static data for this NavCell. Do not modify.
Definition: navcell.h:101
This class is a runtime wrapper of a NavCellBlob.
Definition: navcell.h:27
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
std::uint16_t KyUInt16
uint16_t
Definition: types.h:28
KyUInt32 NavFloorIdx
An index that uniquely identifies a single NavFloor within the set of NavFloors owned by a NavCell...
Definition: navmeshtypes.h:112
2d vector using KyInt32
Definition: vec2i.h:18
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
NavMeshElement * m_parentNavMeshElement
The NavMeshElement that contains this NavCell. Do not modify.
Definition: navcell.h:100
bool IsNavCellActive() const
Indicates whether or not this NavCell has been considered active by the NavCellGrid in term of overla...
Definition: navcell.h:49
KyUInt16 m_idxOfNavCellVersionCollection
the idx of this NavCell in the SmallPtrTrackedCollection located at this CellPos in the NavCellGrid...
Definition: navcell.h:108
bool m_navFloorsAreStitched
Indicates whether or not the NavFloors in this NavCell have been stitched into a Database. For Internal Use. Do not modify.
Definition: navcell.h:113
KyUInt16 m_numberOfFloors
The total number of NavFloors in m_metaNavFloorBuffer. never change. Do not modify.
Definition: navcell.h:109
bool IsNavCellBlobEmpty() const
Returns true if the NavCellBlob contains no NavFloor ie no triangle.
Definition: navcell.h:45
KyUInt32 m_navCellIdxInNavMesh
The index of the NavCell within the buffer of NavCell in its NavMeshElement. Equal to the index of Na...
Definition: navcell.h:107
std::uint8_t KyUInt8
uint8_t
Definition: types.h:27
NavMeshElement * GetParentNavMeshElement() const
Returns a pointer to the NavMeshElement that contains this NavCell.
Definition: navcell.h:43
const CellPos & GetCellPos() const
Retrieves the position of this NavCellBlob within the partitioning scheme of its NavMeshElementBlob.
Definition: navcellblob.h:49
KyUInt16 m_numberOfActiveDynamicFloors
The number of dynamicNavFloors in the m_metaNavFloorBuffer buffer. Do not modify. ...
Definition: navcell.h:110