Kaim::NavCell Class Reference
#include <navcell.h>
This class is a runtime wrapper of a NavCellBlob.
NavCells are managed by the NavCellGrid. This is the NavMesh unit it term of activation - Deactivation in term of sector and overlaps (using the parent NavMeshElement GuidCompound).
It maintains, for each NavFloorBlob, an instance of NavFloor. It also maintains dynamic versions of NavFloor if present.
const CellPos & Kaim::NavCell::GetCellPos |
( |
| ) |
const |
|
inline |
Retrieves the position of this NavCell within the grid of NavData cells.
const GuidCompound & Kaim::NavCell::GetGuidCompound |
( |
| ) |
const |
|
inline |
Retrieves the NavFloor with the specified index.
KyUInt32 Kaim::NavCell::GetNavFloorCount |
( |
| ) |
const |
|
inline |
Retrieves the number of NavFloors in this NavCell.
bool Kaim::NavCell::IsNavCellActive |
( |
| ) |
const |
|
inline |
Indicates whether or not this NavCell has been considered active by the NavCellGrid in term of overlap and GuidCompound.
If so, all the NavFloor (dynamic if present, static otherwise) of this NavCell are accessible from ActiveData and are used by the bots, queries, etc...
bool Kaim::NavCell::IsNavCellBlobEmpty |
( |
| ) |
const |
|
inline |
Returns true if the NavCellBlob contains no NavFloors and triangles.
KyUInt8 Kaim::NavCell::m_currentActivenessStatus |
Current ActivenessStatus. Do not modify.
KyUInt16 Kaim::NavCell::m_idxOfNavCellVersionCollection |
the idx of this NavCell in the SmallPtrTrackedCollection located at this CellPos in the NavCellGrid. For internal use. Do not modify.
KyUInt32 Kaim::NavCell::m_navCellIdxInNavMesh |
bool Kaim::NavCell::m_navFloorsAreStitched |
Indicates whether or not the NavFloors in this NavCell have been stitched into a Database. For Internal Use. Do not modify.
KyUInt8 Kaim::NavCell::m_nextActivenessStatus |
this is a temporary ActivenessStatus value used by the NavCellGrid when updating the database. For Internal Use. Do not modify.
KyUInt16 Kaim::NavCell::m_numberOfActiveDynamicFloors |
The number of dynamicNavFloors in the #m_activeNavFloors buffer. Do not modify.
KyUInt16 Kaim::NavCell::m_numberOfFloors |
The total number of NavFloors in #m_activeNavFloors. never change. Do not modify.
The documentation for this class was generated from the following file: