Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourCrowd.h |
Include |
#include "DetourCrowd/DetourCrowd.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/DetourCrowd/DetourCrowd.cpp |
int getActiveAgents
(
dtCrowdAgent ** agents,
const int maxAgents
)
Gets the active agents int the agent pool.
The number of agents returned in `agents_.
Parameter |
Description |
---|---|
agents |
An array of agent pointers. [(dtCrowdAgent ) maxAgents] |
maxAgents |
The size of the crowd agent array. |