Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/URotationArrayAction
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsActions.h |
| Include | #include "LearningAgentsActions.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsActions.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"LearningAgents", Meta&61;&40;AgentId&61;"&45;1"&41;&41;
void GetRotationArrayAction
&40;
const int32 AgentId,
TArray< FRotator > & OutRotations
&41;
Remarks
Gets the data for this action as rotators. Call during ULearningAgentsInteractor::GetActions event.
Parameters
| Name | Description |
|---|---|
| AgentId | The agent id to get data for. |
| OutRotations | The current action values. |