Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsObservations
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsObservations.h |
| Include | #include "LearningAgentsObservations.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsObservations.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents",
Meta=(AdvancedDisplay=3, DefaultToSelf="VisualLoggerListener"))
static FLearningAgentsObservationObjectElement MakeBitmaskObservation
(
ULearningAgentsObservationObject * Object,
const UEnum * Enum,
const int32 BitmaskValue,
const FName Tag,
const bool bVisualLoggerEnabled,
ULearningAgentsManagerListener * VisualLoggerListener,
const int32 VisualLoggerAgentId,
const FVector VisualLoggerLocation,
const FLinearColor VisualLoggerColor
)
Remarks
Make a new bitmask observation. The newly created observation object element.
Parameters
| Name | Description |
|---|---|
| Object | The Observation Object |
| Enum | The enum type for this observation. Must match what was given during Specify. |
| BitmaskValue | The bitmask value. |
| Tag | The tag of the corresponding observation. 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 observation. This must be set to use logging. |
| VisualLoggerAgentId | The agent id associated with this observation. |
| VisualLoggerLocation | A location for the visual logger information in the world. |
| VisualLoggerColor | The color for the visual logger display. |