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 (BlueprintPure, Category="LearningAgents", Meta=(AgentId="-1"))
bool HasActionVector
(
const int32 AgentId
) const
Remarks
Returns true if DecodeAndSampleActions on the policy or SetActionVector has been called and the action vector already set for the given agent.