dtNavMesh::restoreTileState

Restores the state of the tile.

Windows
MacOS
Linux

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

Syntax

dtStatus restoreTileState
(
    dtMeshTile * tile,
    const unsigned char * data,
    const int maxDataSize
)

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.

Returns

The status flags for the operation.

Parameters

Parameter

Description

tile

The tile.

data

The new state. (Obtained from storeTileState.)

maxDataSize

The size of the state within the data buffer.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss