Kaim::NavCellBlob Class Reference

Kaim::NavCellBlob Class Reference

#include <navcellblob.h>

Class Description

The NavCellBlob contains the NavMesh static data of a NavMeshElement at a CellPos.

It gathers a set of NavFloorBlob and some stitching helpers (NavFloorLinkInfo).

Public Member Functions

const CellPosGetCellPos () const
 
const NavFloorBlobGetNavFloorBlob (NavFloorIdx idx) const
 
KyUInt32 GetNavFloorBlobCount () const
 
bool IsValid () const
 

Public Attributes

CellPos m_cellPos
 
BlobArray< NavFloor1To1StitchDataBlob > m_floor1To1StitchData
 
BlobArray< BlobRef< NavFloorBlob > > m_floors
 

Member Function Documentation

const CellPos & Kaim::NavCellBlob::GetCellPos ( ) const
inline

Retrieves the position of this NavCellBlob within the partitioning scheme of its NavMeshElementBlob.

const NavFloorBlob & Kaim::NavCellBlob::GetNavFloorBlob ( NavFloorIdx  idx) const
inline

Retrieves the NavFloorBlob with the specified index.

KyUInt32 Kaim::NavCellBlob::GetNavFloorBlobCount ( ) const
inline

Retrieves the number of NavFloorBlob maintained by this NavCellBlob.

bool Kaim::NavCellBlob::IsValid ( ) const

performs some basic tests on static data. For internal debug purpose.

Member Data Documentation

CellPos Kaim::NavCellBlob::m_cellPos

The position of this NavCellBlob within the partitioning scheme of its NavMeshElementBlob. Do not modify.

BlobArray<NavFloor1To1StitchDataBlob> Kaim::NavCellBlob::m_floor1To1StitchData

The list of NavFloor1To1StitchData maintained by the NavCellBlob. Do not modify.

BlobArray<BlobRef<NavFloorBlob> > Kaim::NavCellBlob::m_floors

The list of NavFloorBlobs maintained by the NavCellBlob. Do not modify.


The documentation for this class was generated from the following file: