dtNavMesh::getTilesAt

Gets all tiles at the specified grid location.

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

int getTilesAt
(
    const int x,
    const int y,
    dtMeshTile const ** tiles,
    const int maxTiles
) const

Remarks

Gets all tiles at the specified grid location. (All layers.)

This function will not fail if the tiles array is too small to hold the entire result set. It will simply fill the array to capacity.

Returns

The number of tiles returned in the tiles array.

Parameters

Parameter

Description

x

The tile's x-location. (x, y)

y

The tile's y-location. (x, y)

tiles

A pointer to an array of tiles that will hold the result.

maxTiles

The maximum tiles the tiles parameter can hold.

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