Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsActions
Description
Validates that the given action object matches the schema. Will log errors on objects that don't match.
| Name | ValidateActionObjectMatchesSchema |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsActions.h |
| Include Path | #include "LearningAgentsActions.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsActions.cpp |
UFUNCTION (BlueprintPure=false, Category="LearningAgents")
static bool ValidateActionObjectMatchesSchema
(
const ULearningAgentsActionSchema * Schema,
const FLearningAgentsActionSchemaElement SchemaElement,
const ULearningAgentsActionObject * Object,
const FLearningAgentsActionObjectElement ObjectElement
)
true if the object matches the schema
Parameters
| Name | Remarks |
|---|---|
| Schema | Action Schema |
| SchemaElement | Action Schema Element |
| Object | Action Object |
| ObjectElement | Action Object Element |