Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining > API/Plugins/LearningAgentsTraining/ULearningAgentsRecorder
Description
While recording, adds the current buffered observations and actions of the added agents to the internal buffer. Call this after GatherObservations and either EvaluateAgentController (if recording a human/AI demonstration) or DecodeAndSampleActions (if recording from another policy).
| Name | AddExperience |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsRecorder.h |
| Include Path | #include "LearningAgentsRecorder.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Private/LearningAgentsRecorder.cpp |
UFUNCTION (BlueprintCallable, Category="LearningAgents")
void AddExperience()