Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining > API/Plugins/LearningAgentsTraining/ULearningAgentsCompletions
References
| Module | LearningAgentsTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsCompletions.h |
| Include | #include "LearningAgentsCompletions.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Private/LearningAgentsCompletions.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents",
Meta=(AdvancedDisplay=5, DefaultToSelf="VisualLoggerListener"))
static ELearningAgentsCompletion MakeCompletionOnLocationOutsideBounds
(
const FVector Location,
const FTransform BoundsTransform,
const FVector BoundsMins,
const FVector BoundsMaxs,
const ELearningAgentsCompletion CompletionType,
const FName Tag,
const bool bVisualLoggerEnabled,
ULearningAgentsManagerListener * VisualLoggerListener,
const int32 VisualLoggerAgentId,
const FVector VisualLoggerLocation,
const FLinearColor VisualLoggerColor
)
Remarks
Make a completion when a location moves outside of sound bounds. The resulting completion.
Parameters
| Name | Description |
|---|---|
| Location | The location. |
| BoundsTransform | The transform of the bounds object. |
| BoundsMins | The minimums of the bounds object. |
| BoundsMaxs | The maximums of the bounds object. |
| CompletionType | The type of completion to make |
| Tag | The tag for the completion. Used for debugging. |
| bVisualLoggerEnabled | When true, debug data will be sent to the visual logger. |
| VisualLoggerListener | The listener object which is making this completion. This must be set to use logging. |
| VisualLoggerAgentId | The agent id associated with this completion. |
| VisualLoggerLocation | A location for the visual logger information in the world. |
| VisualLoggerColor | The color for the visual logger display. |