dtCreateNavMeshData

Builds navigation mesh tile data from the provided tile creation data.

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshBuilder.h

Include

#include "Detour/DetourNavMeshBuilder.h"

Source

/Engine/Source/Runtime/Navmesh/Private/Detour/DetourNavMeshBuilder.cpp

Syntax

bool dtCreateNavMeshData
(
    dtNavMeshCreateParams * params,
    unsigned char ** outData,
    int * outDataSize
)

Remarks

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.

Returns

True if the tile data was successfully created.

Parameters

Parameter

Description

params

Tile creation data.

outData

The resulting tile data.

outDataSize

The size of the tile data array.

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