Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshQuery.h |
Include |
#include "Detour/DetourNavMeshQuery.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/Detour/DetourNavMeshQuery.cpp |
dtStatus findRandomPointInCluster
(
dtClusterRef clusterRef,
float(*)() frand,
dtPolyRef * randomRef,
float * randomPt
) const
Returns random location on navmesh within specified cluster.
The status flags for the query.
Parameter |
Description |
---|---|
frand |
Function returning a random number [0..1). |
randomRef |
The reference id of the random location. |
randomPt |
The random location. |