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=false, Category="LearningAgents")
static bool ValidateObservationObjectMatchesSchema
(
const ULearningAgentsObservationSchema * Schema,
const FLearningAgentsObservationSchemaElement SchemaElement,
const ULearningAgentsObservationObject * Object,
const FLearningAgentsObservationObjectElement ObjectElement
)
Remarks
Validates that the given observation object matches the schema. Will log errors on objects that don't match. true if the object matches the schema
Parameters
| Name | Description |
|---|---|
| Schema | Observation Schema |
| SchemaElement | Observation Schema Element |
| Object | Observation Object |
| ObjectElement | Observation Object Element |