Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/UVectorArrayAction
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 SetVectorArrayAction
&40;
const int32 AgentId,
const TArray< FVector > & Vectors
&41;
Remarks
Sets the data for this action. Call during ULearningAgentsController::SetActions event.
Parameters
| Name | Description |
|---|---|
| AgentId | The agent id to set data for. |
| Vectors | The current action values. |