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 GatherAgentCompletions
(
TArray < ELearningAgentsCompletion > & OutCompletions,
const TArray < int32 > & AgentIds
)
Remarks
This callback can be overridden by the Trainer and gathers all the completions for the given set of agents. By default this will call GatherAgentCompletion on each agent.
Parameters
| Name | Description |
|---|---|
| OutCompletions | Output completions for each agent in AgentIds |
| AgentIds | Agents to gather completions for. |