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 (BlueprintCallable, Category="LearningAgents", Meta=(AgentId="-1"))
void GetObservationVector
(
TArray < float > & OutObservationVector,
int32 & OutObservationCompatibilityHash,
const int32 AgentId
)
Remarks
Get the current buffered observation vector for the given agent.
Parameters
| Name | Description |
|---|---|
| OutObservationVector | Output Observation Vector |
| OutObservationCompatibilityHash | Output Compatibility Hash used to identify which schema this vector is compatible with. |
| AgentId | Agent Id to look up the observation vector for. |