Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/dtNavMesh
Warnings * Only use this function if it is known that the provided polygon reference is valid. This function is faster than getTileAndPolyByRef, but it does not validate the reference.
Description
Returns the tile and polygon for the specified polygon reference.
Only use this function if it is known that the provided polygon reference is valid. This function is faster than getTileAndPolyByRef, but it does not validate the reference.
| Name | getTileAndPolyByRefUnsafe |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMesh.h |
| Include Path | #include "Detour/DetourNavMesh.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Detour/DetourNavMesh.cpp |
void getTileAndPolyByRefUnsafe
(
const dtPolyRef ref,
const dtMeshTile ** tile,
const dtPoly ** poly
) const
Parameters
| Name | Remarks |
|---|---|
| ref | A known valid reference for a polygon. |
| tile | The tile containing the polygon. |
| poly | The polygon. |