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"))
float GetEpisodeTime
(
const int32 AgentId
) const
Remarks
Gets the current elapsed episode time for the given agent. The elapsed episode time
Parameters
| Name | Description |
|---|---|
| AgentId | The AgentId to look-up the episode time for |