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=(Class="/Script/LearningAgentsTraining.LearningAgentsRecorder", DeterminesOutputType="Class", AutoCreateRefTerm="RecorderPathSettings"))
static ULearningAgentsRecorder * MakeRecorder
(
ULearningAgentsManager *& InManager,
ULearningAgentsInteractor *& InInteractor,
TSubclassOf < ULearningAgentsRecorder > Class,
const FName Name,
const FLearningAgentsRecorderPathSettings & RecorderPathSettings,
ULearningAgentsRecording * RecordingAsset,
bool bReinitializeRecording
)
Remarks
Constructs 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. |
| Class | The recorder class |
| Name | The recorder class |
| 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 |