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=2, AutoCreateRefTerm="Map"))
static FLearningAgentsObservationObjectElement MakeMapObservation
(
ULearningAgentsObservationObject * Object,
const TMap < FLearningAgentsObservationObjectElement , FLearningAgentsObservationObjectElement > & Map,
const FName Tag
)
Remarks
Make a new map observation. The newly created observation object element.
Parameters
| Name | Description |
|---|---|
| Object | The Observation Object |
| Elements | The sub-observations. The number of elements here must be less than or equal to the maximum that was given during Specify. |
| Tag | The tag of the corresponding observation. Must match the tag given during Specify. |