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", DefaultToSelf="VisualLoggerListener"))
static bool GetBoolAction
(
bool & bOutValue,
const ULearningAgentsActionObject * Object,
const FLearningAgentsActionObjectElement Element,
const FName Tag,
const bool bVisualLoggerEnabled,
ULearningAgentsManagerListener * VisualLoggerListener,
const int32 VisualLoggerAgentId,
const FVector VisualLoggerLocation,
const FLinearColor VisualLoggerColor
)
Remarks
Get the value for a bool action. true if the provided Element is the correct type, otherwise false.
Parameters
| Name | Description |
|---|---|
| bOutValue | The output bool value. |
| Object | The Action Object |
| Element | The Action Object Element |
| Tag | The tag of the corresponding action. Must match the tag given during Specify. |
| bVisualLoggerEnabled | When true, debug data will be sent to the visual logger. |
| VisualLoggerListener | The listener object which is making this action. This must be set to use logging. |
| VisualLoggerAgentId | The agent id associated with this action. |
| VisualLoggerLocation | A location for the visual logger information in the world. |
| VisualLoggerColor | The color for the visual logger display. |