dtTileCacheHeaderSwapEndian

Swaps the endianess of the compressed tile data's header ([dtTileCacheLayerHeader](API\Runtime\Navmesh\DetourTileCache\dtTileCacheLayerHeader)).

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/DetourTileCache/DetourTileCacheBuilder.h

Include

#include "DetourTileCache/DetourTileCacheBuilder.h"

Source

/Engine/Source/Runtime/Navmesh/Private/DetourTileCache/DetourTileCacheBuilder.cpp

Syntax

bool dtTileCacheHeaderSwapEndian
(
    unsigned char * data,
    const int dataSize
)

Remarks

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. UE4: not anymore, there are short types as well now

Parameters

Parameter

Description

data

The tile data array.

dataSize

The size of the data array.

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