Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/Detour > API/Runtime/Navmesh/Detour/dtNavMesh > API/Runtime/Navmesh/Detour/dtNavMesh/calcTileLoc
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 |
void calcTileLoc
&40;
const dtReal &42; pos,
int &42; tx,
int &42; ty
&41; const
Remarks
Calculates the tile grid location for the specified world position.
Parameters
| Name | Description |
|---|---|
| pos | The world position for the query. [(x, y, z)] |
| tx | The tile's x-location. (x, y) |
| ty | The tile's y-location. (x, y) |