Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/dtNavMesh
Description
Restores the state of the tile.
Tile state includes non-structural data such as polygon flags, area ids, etc.
This function does not impact the tile's dtTileRef and dtPolyRef's.
| Name | restoreTileState |
| 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 restoreTileState
(
dtMeshTile * tile,
const unsigned char * data,
const int maxDataSize
)
The status flags for the operation.
Parameters
| Name | Remarks |
|---|---|
| tile | The tile. |
| data | The new state. (Obtained from storeTileState.) |
| maxDataSize | The size of the state within the data buffer. |
See Also
- storeTileState