Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsActions
Description
Specifies a new pair action. This represents an action which is made up of a key and value sub-actions.
| Name | SpecifyPairAction |
| 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 SpecifyPairAction
(
ULearningAgentsActionSchema * Schema,
const FLearningAgentsActionSchemaElement Key,
const FLearningAgentsActionSchemaElement Value,
const FName Tag
)
The newly created action schema element.
Parameters
| Name | Remarks |
|---|---|
| Schema | The Action Schema |
| Key | The key sub-action. |
| Value | The value sub-action. |
| Tag | The tag of this new action. Used during action object validation and debugging. |