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" |
UFUNCTION (BlueprintNativeEvent, Category="LearningAgents", Meta=(ForceAsFunction))
void EvaluateAgentController
(
FLearningAgentsActionObjectElement & OutActionObjectElement,
ULearningAgentsActionObject * InActionObject,
const ULearningAgentsObservationObject * InObservationObject,
const FLearningAgentsObservationObjectElement & InObservationObjectElement,
const int32 AgentId
)
Remarks
This callback should be overridden by the Controller and produces an Action Object Element from an Observation Object Element.
Parameters
| Name | Description |
|---|---|
| OutActionObjectElement | Output Action Object Element. |
| InActionObject | Action object used to construct the output Action Object Element. |
| InObservationObject | Input Observation Object. |
| InObservationObjectElement | Input Observation Object Element. |
| AgentId | Agent id associated with the observation. |