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 GetActionVector
&40;
const int32 AgentId,
TArray< float > & OutActionVector
&41; const
Remarks
Gets the action vector used by a given agent. Should be called only after EncodeActions or EvaluatePolicy.
Parameters
| Name | Description |
|---|---|
| AgentId | The AgentId to look-up the action vector for |
| OutActionVector | The action vector for the given agent |