Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/dtNavMesh
Description
Stores the non-structural state of the tile in the specified buffer. (Flags, area ids, etc.)
Tile state includes non-structural data such as polygon flags, area ids, etc.
The state data is only valid until the tile reference changes.
| Name | storeTileState |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMesh.h |
| Include Path | #include "Detour/DetourNavMesh.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Detour/DetourNavMesh.cpp |
dtStatus storeTileState
(
const dtMeshTile * tile,
unsigned char * data,
const int maxDataSize
) const
The status flags for the operation.
Parameters
| Name | Remarks |
|---|---|
| tile | The tile. |
| data | The buffer to store the tile's state in. |
| maxDataSize | The size of the data buffer. [Limit: >= getTileStateSize] |