Navigation
Unreal Engine C++ API Reference > Runtime > Navmesh > Detour > 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.
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 getTileAndPolyByRefUnsafe
&40;
const dtPolyRef ref,
const dtMeshTile &42;&42; tile,
const dtPoly &42;&42; poly
&41; const
Remarks
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.
Parameters
Name | Description |
---|---|
ref | A known valid reference for a polygon. |
tile | The tile containing the polygon. |
poly | The polygon. |