Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsInteractor
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsInteractor.h |
| Include | #include "LearningAgentsInteractor.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsInteractor.cpp |
UFUNCTION&40;BlueprintPure, Category&61;"LearningAgents", Meta&61;&40;AgentId&61;"&45;1"&41;&41;
void GetObservationVector
&40;
const int32 AgentId,
TArray< float > & OutObservationVector
&41; const
Remarks
Gets the observation vector used by a given agent. Should be called only after EncodeObservations.
Parameters
| Name | Description |
|---|---|
| AgentId | The AgentId to look-up the observation vector for |
| OutObservationVector | The observation vector for the given agent |