Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsActions
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 (BlueprintPure=false, Category="LearningAgents",
Meta=(AdvancedDisplay=4, ReturnDisplayName="Success"))
static bool GetPairAction
(
FLearningAgentsActionObjectElement & OutKey,
FLearningAgentsActionObjectElement & OutValue,
const ULearningAgentsActionObject * Object,
const FLearningAgentsActionObjectElement Element,
const FName Tag
)
Remarks
Get the sub-actions of a pair action. true if the provided Element is the correct type, otherwise false.
Parameters
| Name | Description |
|---|---|
| OutKey | The output key sub-element. |
| OutValue | The output value sub-element. |
| Object | The Action Object |
| Element | The Action Object Element |
| Tag | The tag of the corresponding action. Must match the tag given during Specify. |