Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsActions
Description
Specifies a new static array action. This represents an action which is a fixed sized array of some sub-action.
| Name | SpecifyStaticArrayAction |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsActions.h |
| Include Path | #include "LearningAgentsActions.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsActions.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents", Meta=(AdvancedDisplay=3))
static FLearningAgentsActionSchemaElement SpecifyStaticArrayAction
(
ULearningAgentsActionSchema * Schema,
const FLearningAgentsActionSchemaElement Element,
const int32 Num,
const FName Tag
)
The newly created action schema element.
Parameters
| Name | Remarks |
|---|---|
| Schema | The Action Schema |
| Element | The sub-action. |
| Num | The number of elements in the array. |
| Tag | The tag of this new action. Used during action object validation and debugging. |