Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsObservations
Description
Specifies a new static array observation. This represents an observation made up of a fixed-size array of some other observation.
| Name | SpecifyStaticArrayObservation |
| 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 SpecifyStaticArrayObservation
(
ULearningAgentsObservationSchema * Schema,
const FLearningAgentsObservationSchemaElement Element,
const int32 Num,
const FName Tag
)
The newly created observation schema element.
Parameters
| Name | Remarks |
|---|---|
| Schema | The Observation Schema |
| Element | The sub-observation that represents elements of this array. |
| Num | The number of elements in the fixed size array. |
| Tag | The tag of this new observation. Used during observation object validation and debugging. |