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 GetStructActionToArrays
(
TArray < FName > & OutElementNames,
TArray < FLearningAgentsActionObjectElement > & OutElements,
const ULearningAgentsActionObject * Object,
const FLearningAgentsActionObjectElement Element,
const FName Tag
)
Remarks
Get the sub-actions for a struct action. true if the provided Element is the correct type, otherwise false.
Parameters
| Name | Description |
|---|---|
| OutElementNames | The output sub-action names. |
| OutElements | The output sub-actions. |
| Object | The Action Object |
| Element | The Action Object Element |
| Tag | The tag of the corresponding action. Must match the tag given during Specify. |