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