Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/Detour > API/Runtime/Navmesh/Detour/dtNavMesh
References
| Module | Navmesh |
| Header | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMesh.h |
| Include | #include "Detour/DetourNavMesh.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Detour/DetourNavMesh.cpp |
dtStatus restoreTileState
&40;
dtMeshTile &42; tile,
const unsigned char &42; data,
const int maxDataSize
&41;
Remarks
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. The status flags for the operation.
Parameters
| Name | Description |
|---|---|
| tile | The tile. |
| data | The new state. (Obtained from storeTileState.) |
| maxDataSize | The size of the state within the data buffer. |