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=3, ReturnDisplayName="Success"))
static bool GetInclusiveDiscreteActionNum
(
int32 & OutNum,
const ULearningAgentsActionObject * Object,
const FLearningAgentsActionObjectElement Element,
const FName Tag
)
Remarks
Get the number of indices for an inclusive discrete action. true if the provided Element is the correct type, otherwise false.
Parameters
| Name | Description |
|---|---|
| OutNum | The output number of indices. |
| Object | The Action Object |
| Element | The Action Object Element |
| Tag | The tag of the corresponding action. Must match the tag given during Specify. |