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" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Private/LearningAgentsTrainingEnvironment.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents", Meta=(AgentId="-1"))
ELearningAgentsCompletion GetCompletion
(
const int32 AgentId
) const
Remarks
Gets the current completion for an agent. Should be called only after GatherCompletions. The completion type
Parameters
| Name | Description |
|---|---|
| AgentId | The AgentId to look-up the completion for |