Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsObservations
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsObservations.h |
| Include | #include "LearningAgentsObservations.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsObservations.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents", Meta=(AdvancedDisplay=3))
static FLearningAgentsObservationSchemaElement SpecifyStructObservationFromArrays
(
ULearningAgentsObservationSchema * Schema,
const TArray < FName > & ElementNames,
const TArray < FLearningAgentsObservationSchemaElement > & Elements,
const FName Tag
)
Remarks
Specifies a new struct observation. This represents a group of named sub-observations. The newly created observation schema element.
Parameters
| Name | Description |
|---|---|
| Schema | The Observation Schema |
| ElementNames | The names of the sub-observations that make up this struct. |
| Elements | The corresponding sub-observations that make up this struct. Must be the same size as ElementNames. |
| Tag | The tag of this new observation. Used during observation object validation and debugging. |