Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsController
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsController.h |
| Include | #include "LearningAgentsController.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsController.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"LearningAgents"&41;
void EncodeActions&40;&41;
Remarks
Call this function when it is time to gather all the actions for your agents. This should be called roughly whenever you are calling ULearningAgentsInteractor::EncodeObservations. This will call this controller's SetActions event.