Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/dtCrowd
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
dtCrowdAgent ** getActiveAgents () |
Gets all cached active agents. | DetourCrowd/DetourCrowd.h | |
int getActiveAgents
(
dtCrowdAgent** agents, |
Gets the active agents int the agent pool. | DetourCrowd/DetourCrowd.h |
getActiveAgents()
Description
Gets all cached active agents.
| Name | getActiveAgents |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourCrowd.h |
| Include Path | #include "DetourCrowd/DetourCrowd.h" |
dtCrowdAgent ** getActiveAgents() const
getActiveAgents(dtCrowdAgent **, const int)
Description
Gets the active agents int the agent pool.
| Name | getActiveAgents |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourCrowd.h |
| Include Path | #include "DetourCrowd/DetourCrowd.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/DetourCrowd/DetourCrowd.cpp |
int getActiveAgents
(
dtCrowdAgent ** agents,
const int maxAgents
)
The number of agents returned in `agents_.
Parameters
| Name | Remarks |
|---|---|
| agents | An array of agent pointers. [(dtCrowdAgent ) maxAgents] |
| maxAgents | The size of the crowd agent array. |