Kaim::NavFloor Class Reference
#include <navfloor.h>
This class is a runtime wrapper of a NavFloorBlob, it gathers all the runtime information associated to a NavFloor such links to other NavFloors, SpatializedPoint spatialized in this NavFloor...
A NavFloor defines a contiguous area within a NavCell that is made up of connected, neighboring triangles that share the same NavTag. Different NavFloors within the same NavCell may represent separate floors in 3D that are not connected one to another.
|
Database * | m_database |
|
NavCell * | m_navCell |
|
NavFloor1To1StitchData * | m_floor1To1StitchData |
|
const NavFloorBlob * | m_navFloorBlob |
|
NavTag * | m_navTags |
|
ConnectedComponentId * | m_connexConnectedComponents |
|
CellPos | m_cellPos |
|
FloorAltitudeRange | m_floorAltitudeRange |
|
Collection< SpatializedPoint * > | m_spatializedPoints |
|
KyUInt16 | m_floorLinksOffset |
|
KyUInt16 | m_graphLinksOffset |
|
KyUInt16 | m_numberOfLink |
|
KyUInt16 | m_numberOfUnconnectedLink |
|
KyUInt16 | m_idxInActiveNavFloorCollection |
|
KyUInt16 | m_idxInTheNavCellBuffer |
|
NavFloor * | GetAssociatedStaticNavFloor () const |
|
bool | IsStaticVersion () const |
|
const ConnectedComponentId & | GetConnexConnectedComponentId (KyUInt32 navConnexIdx) const |
|
void | SetConnexConnectedComponentId (KyUInt32 navConnexIdx, ConnectedComponentId connectedComponentId) |
|
NavHalfEdgeRawPtr * | GetLinksBuffer () const |
|
bool | HasAnUnconnectedLink () const |
|
void | OnRemove () |
| Clears all information maintained by this object. More...
|
|
void | OnDeActivate () |
|
NavFloorToNavGraphLinks * | GetNavFloorToNavGraphLinks () const |
|
KyUInt32 | GetIndexInCollection () const |
|
void | SetIndexInCollection (KyUInt32 indexInCollection) |
|
const Collection< SpatializedPoint * > & | GetSpatializedPoints () const |
|
void | AddSpatializedPoint (SpatializedPoint *spatializedPoint) |
|
void | RemoveSpatializedPoint (SpatializedPoint *spatializedPoint) |
|
void | RemoveAllSpatializedPoints () |
|
void | UnstitchStaticLinks () |
|
static Ptr< NavFloor > | Create (const CreateConfig &navFloorCongig, MemoryHeap *pheap=nullptr) |
|
static KyUInt32 | ComputeSizeForNavFloor (const NavFloorBlob &navFloorBlob) |
|
const CellPos & Kaim::NavFloor::GetCellPos |
( |
| ) |
const |
|
inline |
const NavFloorBlob * Kaim::NavFloor::GetNavFloorBlob |
( |
| ) |
const |
|
inline |
bool Kaim::NavFloor::IsActive |
( |
| ) |
const |
|
inline |
This function returns true if the NavFloor has been "activated" in term of overlap, dynamic version,...
That means this NavFloor Will be used for Query process, bot pathFollowing, and all other AI components.
bool Kaim::NavFloor::IsStillLoaded |
( |
| ) |
const |
|
inline |
void Kaim::NavFloor::OnRemove |
( |
| ) |
|
Clears all information maintained by this object.
The documentation for this class was generated from the following files:
- gwnavruntime/navmesh/navfloor.h
- gwnavruntime/navmesh/navfloor.cpp