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=2))
static FLearningAgentsObservationSchemaElement SpecifyBitmaskObservation
(
ULearningAgentsObservationSchema * Schema,
const UEnum * Enum,
const FName Tag
)
Remarks
Specifies a new bitmask observation. This represents an inclusive choice from elements of the given Enum. To use this with an Enum defined in C++ use the FindEnumByName convenience function. The newly created observation schema element.
Parameters
| Name | Description |
|---|---|
| Schema | The Observation Schema |
| Enum | The enum type to use. |