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 GetActionVector
(
TArray < float > & OutActionVector,
int32 & OutActionCompatibilityHash,
const int32 AgentId
)
Remarks
Get the current buffered action vector for the given agent.
Parameters
| Name | Description |
|---|---|
| OutActionVector | Output Action Vector |
| OutActionCompatibilityHash | Output Compatibility Hash used to identify which schema this vector is compatible with. |
| AgentId | Agent Id to look up the action vector for. |