Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/UFloatArrayAction
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;DefaultToSelf&61;"InInteractor"&41;&41;
static UFloatArrayAction &42; AddFloatArrayAction
&40;
ULearningAgentsInteractor &42; InInteractor,
const FName Name,
const int32 Num,
const float Scale
&41;
Remarks
Adds a new float array action to the given agent interactor. Call during ULearningAgentsInteractor::SetupActions event. The newly created action.
Parameters
| Name | Description |
|---|---|
| InInteractor | The agent interactor to add this action to. |
| Name | The name of this new action. Used for debugging. |
| Num | The number of floats in the array |
| Scale | Used to normalize the data for the action. |