Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshBuilder.h |
Include |
#include "Detour/DetourNavMeshBuilder.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/Detour/DetourNavMeshBuilder.cpp |
bool dtCreateNavMeshData
(
dtNavMeshCreateParams * params,
unsigned char ** outData,
int * outDataSize
)
Builds navigation mesh tile data from the provided tile creation data.
The output data array is allocated using the detour allocator (dtAlloc()). The method used to free the memory will be determined by how the tile is added to the navigation mesh.
True if the tile data was successfully created.
Parameter |
Description |
---|---|
params |
Tile creation data. |
outData |
The resulting tile data. |
outDataSize |
The size of the tile data array. |