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" |
UFUNCTION (BlueprintNativeEvent, Category="LearningAgents", Meta=(ForceAsFunction))
void PerformAgentAction
(
const ULearningAgentsActionObject * InActionObject,
const FLearningAgentsActionObjectElement & InActionObjectElement,
const int32 AgentId
)
Remarks
This callback should be overridden by the Interactor and performs the action for the given agent in the world. The structure of the Action Elements given as input to this function will match that defined by the Schema.
Parameters
| Name | Description |
|---|---|
| InActionObject | Action Object. |
| InActionObjectElement | Input Actions Element. |
| AgentId | Agent Id to perform actions for. |