Navigation
API > API/Plugins > API/Plugins/MLAdapter > API/Plugins/MLAdapter/UMLAdapterAgentElement
Description
Fetches both the pawn and the controller associated with the current agent. It's like both calling
| Name | GetPawnAndControllerAvatar |
| Type | function |
| Header File | /Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Public/Agents/MLAdapterAgentElement.h |
| Include Path | #include "Agents/MLAdapterAgentElement.h" |
| Source | /Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Private/Agents/MLAdapterAgentElement.cpp |
bool GetPawnAndControllerAvatar
(
APawn *& OutPawn,
AController *& OutController
) const
true if at least one of the fetched pair is non-null.
See Also
-
GetPawnAvatar and
-
GetControllerAvatar.