Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/Detour > API/Runtime/Navmesh/Detour/dtNavMeshQuery
References
| Module | Navmesh |
| Header | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshQuery.h |
| Include | #include "Detour/DetourNavMeshQuery.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Detour/DetourNavMeshQuery.cpp |
dtStatus isPointInsidePoly
&40;
dtPolyRef ref,
const dtReal &42; pos,
bool & result
&41; const
Remarks
Checks if specified pos is inside given polygon specified by ref The status flags for the query.
Parameters
| Name | Description |
|---|---|
| ref | The reference id of the polygon. |
| pos | The position to check. [(x, y, z)] |
| result | The result of the check, whether the point is inside (true) or not (false) |