Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining > API/Plugins/LearningAgentsTraining/ULearningAgentsTrainingEnvironme-
Description
This callback should be overridden by the Trainer and gathers the completion for a given agent.
| Name | GatherAgentCompletion |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsTrainingEnvironment.h |
| Include Path | #include "LearningAgentsTrainingEnvironment.h" |
UFUNCTION (BlueprintNativeEvent, Category="LearningAgents", Meta=(ForceAsFunction))
void GatherAgentCompletion
(
ELearningAgentsCompletion & OutCompletion,
const int32 AgentId
)
Parameters
| Name | Remarks |
|---|---|
| OutCompletion | Output completion for the given agent. |
| AgentId | Agent id to gather completion for. |