Navigation
Unreal Engine C++ API Reference > Runtime > Navmesh > DetourCrowd > dtCrowd
References
Module | Navmesh |
Header | /Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourCrowd.h |
Include | #include "DetourCrowd/DetourCrowd.h" |
Source | /Engine/Source/Runtime/Navmesh/Private/DetourCrowd/DetourCrowd.cpp |
const dtCrowdAgent &42; getAgent
&40;
const int idx
&41;
Remarks
Gets the specified agent from the pool.
agents in the pool may not be in use. Check dtCrowdAgent.active before using the returned object. The requested agent.
Parameters
Name | Description |
---|---|
idx | The agent index. [Limits: 0 <= value < getAgentCount()] |