Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining > API/Plugins/LearningAgentsTraining/ULearningAgentsRecorder
References
| Module | LearningAgentsTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsRecorder.h |
| Include | #include "LearningAgentsRecorder.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Private/LearningAgentsRecorder.cpp |
UFUNCTION (BlueprintCallable, Category="LearningAgents",
Meta=(AutoCreateRefTerm="RecorderPathSettings"))
void SetupRecorder
(
ULearningAgentsManager *& InManager,
ULearningAgentsInteractor *& InInteractor,
const FLearningAgentsRecorderPathSettings & RecorderPathSettings,
ULearningAgentsRecording * RecordingAsset,
bool bReinitializeRecording
)
Remarks
Initializes this object and runs the setup functions for the underlying data storage.
Parameters
| Name | Description |
|---|---|
| InManager | The agent manager we are using. |
| InInteractor | The agent interactor we are recording with. |
| RecorderPathSettings | The path settings used by the recorder. |
| RecordingAsset | Optional recording asset to use. If not provided or bReinitializeRecording is set then a new recording object will be created. @pram bReinitializeRecording If to reinitialize the recording asset |