Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsObservations
Description
Specifies a new either observation. This represents an observation which will be either sub-observation A or sub-observation B.
| Name | SpecifyEitherObservation |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsObservations.h |
| Include Path | #include "LearningAgentsObservations.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsObservations.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents", Meta=(AdvancedDisplay=3))
static FLearningAgentsObservationSchemaElement SpecifyEitherObservation
(
ULearningAgentsObservationSchema * Schema,
const FLearningAgentsObservationSchemaElement A,
const FLearningAgentsObservationSchemaElement B,
const int32 EncodingSize,
const FName Tag
)
The newly created observation schema element.
Parameters
| Name | Remarks |
|---|---|
| Schema | The Observation Schema |
| A | The first sub-observation. |
| A | The second sub-observation. |
| EncodingSize | The encoding size used to encode each sub-observation. |