Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsObservations
Description
Specifies a new optional observation. This represents an observation which may or may not be provided.
| Name | SpecifyOptionalObservation |
| 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=2))
static FLearningAgentsObservationSchemaElement SpecifyOptionalObservation
(
ULearningAgentsObservationSchema * Schema,
const FLearningAgentsObservationSchemaElement Element,
const int32 EncodingSize,
const FName Tag
)
The newly created observation schema element.
Parameters
| Name | Remarks |
|---|---|
| Schema | The Observation Schema |
| Elements | The sub-observation that may or may not be provided. |
| EncodingSize | The encoding size used to encode this sub-observation. |