63 mutable Ptr<NavFloor> m_navFloorPtr;
71 if (m_navFloorPtr !=
nullptr)
73 if (m_navFloorPtr->IsStillLoaded())
74 return m_navFloorPtr->IsActive();
75 m_navFloorPtr =
nullptr;
NavFloor * GetNavFloor() const
Returns a pointer to the NavFloor identified by this object. Returns nullptr if this object is not va...
Definition: navfloorptr.h:81
Each instance of this class uniquely identifies a single NavFloor.
Definition: navfloorptr.h:16
This class is a runtime wrapper of a NavFloorBlob, it gathers all the runtime information associated ...
Definition: navfloor.h:32
The NavFloorBlob contains a connected and not overlapping part of triangle mesh static data within a ...
Definition: navfloorblob.h:38
const CellPos & GetCellPos() const
Returns a const reference to the CellPos that indicates the position of the cell that contains this N...
Definition: navfloorrawptr.h:77
const CellPos & GetCellPos() const
Returns a const reference to the CellPos that indicates the position of the cell that contains this N...
Definition: navfloorptr.h:92
NavFloor * GetNavFloor_Unsafe() const
Returns a pointer to the NavFloor identified by this object.
Definition: navfloorptr.h:84
bool IsValid() const
Returns true if this object refers to a valid NavFloor, which means a NavFloor:that is not null...
Definition: navfloorptr.h:69
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
const NavFloorBlob * GetNavFloorBlob() const
Returns a const pointer to the NavFloorBlob identified by this object. Returns nullptr if this object...
Definition: navfloorptr.h:82
const NavFloorBlob * GetNavFloorBlob_Unsafe() const
Returns a const pointer to the NavFloorBlob identified by this object.
Definition: navfloorptr.h:85
bool operator==(const NavFloorPtr &rhs) const
Returns true if this object identifies the same NavFloor as rhs, or if both are invalid.
Definition: navfloorptr.h:89
NavFloorRawPtr GetRawPtr() const
Constructs and returns a NavFloorRawPtr that refers to the same NavFloor.
Definition: navfloorptr.h:87
NavFloorPtr(NavFloor *navFloor=nullptr)
Creates an invalid NavFloorPtr.
Definition: navfloorptr.h:66
2d vector using KyInt32
Definition: vec2i.h:18
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
void Invalidate()
m_navFloorPtr = nullptr;
Definition: navfloorptr.h:68
Each instance of this class uniquely identifies a single NavFloor.
Definition: navfloorrawptr.h:23
bool operator!=(const NavFloorPtr &rhs) const
Returns true if this object identifies a different NavFloor from rhs.
Definition: navfloorptr.h:90