Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining
Data asset representing an array of records.
| Name | ULearningAgentsRecording |
| Type | class |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsRecording.h |
| Include Path | #include "LearningAgentsRecording.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, Blueprintable)
class ULearningAgentsRecording : public UDataAsset
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDataAsset → ULearningAgentsRecording
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| These constructors/destructors are needed to make forward declarations happy. | LearningAgentsRecording.h | ||
ULearningAgentsRecording
(
FVTableHelper& Helper |
LearningAgentsRecording.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ULearningAgentsRecording() |
LearningAgentsRecording.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NewSchemaName | FName | The schema name. | LearningAgentsRecording.h |
|
| NewTag | FGameplayTag | The tag to apply to new records. | LearningAgentsRecording.h |
|
| RecordingFile | FFilePath | A recording file. Used in combination with the "AppendRecording" button in the editor. | LearningAgentsRecording.h |
|
| RecordingFolder | FDirectoryPath | A folder containing .record files to load. | LearningAgentsRecording.h |
|
| Records | TArray< FLearningAgentsRecord > | Set of records. | LearningAgentsRecording.h |
|
| SchemaFile | FFilePath | A schema file. Used in combination with the "AppendSchema" button in the editor. | LearningAgentsRecording.h |
|
| Schemas | TMap< FName, FLearningAgentsSchema > | Map of schemas. | LearningAgentsRecording.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AppendAllRecordingsFromFolder() |
Appends all .record files from the specified folder to this recording asset | LearningAgentsRecording.h |
|
void AppendRecording() |
Appends the recording from "RecordingFile" to this recording. | LearningAgentsRecording.h |
|
void AppendRecordingFromFile
(
const FFilePath& File, |
Append to this recording from a file. | LearningAgentsRecording.h |
|
void AppendRecordingToAsset
(
ULearningAgentsRecording* RecordingAsset |
Appends this recording to the given recording asset | LearningAgentsRecording.h |
|
void AppendSchema() |
Appends the schema from "SchemaFile" to this recording. | LearningAgentsRecording.h |
|
| Append schema to this recording from a file. | LearningAgentsRecording.h |
|
|
void ForceMarkDirty() |
Marks this asset as modified even during PIE | LearningAgentsRecording.h | |
void GetActionVector
(
TArray< float >& OutActionVector, |
Get the Action Vector associated with a particular step of a given recording | LearningAgentsRecording.h |
|
void GetObservationVector
(
TArray< float >& OutObservationVector, |
Get the Observation Vector associated with a particular step of a given recording | LearningAgentsRecording.h |
|
int32 GetRecordNum() |
Get the number of records | LearningAgentsRecording.h |
|
int32 GetRecordStepNum
(
const int32 Record |
Get the number of steps in a given record | LearningAgentsRecording.h |
|
void LoadRecordingFromAsset
(
ULearningAgentsRecording* RecordingAsset |
Loads this recording from the given recording asset | LearningAgentsRecording.h |
|
void LoadRecordingFromFile
(
const FFilePath& File, |
Load this recording from a file. | LearningAgentsRecording.h |
|
void ResetRecording() |
Resets this recording asset to be empty. | LearningAgentsRecording.h |
|
void SaveRecordingToAsset
(
ULearningAgentsRecording* RecordingAsset |
Saves this recording to the given recording asset | LearningAgentsRecording.h |
|
void SaveRecordingToFile
(
const FFilePath& File |
Save this recording to a file. | LearningAgentsRecording.h |
|