Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMesh.h |
Include |
#include "Detour/DetourNavMesh.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/Detour/DetourNavMesh.cpp |
int getTilesAt
(
const int x,
const int y,
dtMeshTile const ** tiles,
const int maxTiles
) const
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.
The number of tiles returned in the tiles array.
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. |