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.
Module |
|
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
(
const dtPolyRef ref,
const dtMeshTile ** tile,
const dtPoly ** poly
) const
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.
Parameter |
Description |
---|---|
ref |
A known valid reference for a polygon. |
tile |
The tile containing the polygon. |
poly |
The polygon. |