Navigation
API > API/Runtime > API/Runtime/Navmesh
Description
Swaps the endianess of the compressed tile data's header (dtTileCacheLayerHeader). Tile layer data does not need endian swapping as it consist only of bytes. UE: not anymore, there are short types as well now
| Name | dtTileCacheHeaderSwapEndian |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/DetourTileCache/DetourTileCacheBuilder.h |
| Include Path | #include "DetourTileCache/DetourTileCacheBuilder.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/DetourTileCache/DetourTileCacheBuilder.cpp |
bool dtTileCacheHeaderSwapEndian
(
unsigned char * data,
const int dataSize
)
Parameters
| Name | Remarks |
|---|---|
| data | The tile data array. |
| dataSize | The size of the data array. |