Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsActions
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsActions.h |
| Include | #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
)
Remarks
Validates that the given action object matches the schema. Will log errors on objects that don't match. true if the object matches the schema
Parameters
| Name | Description |
|---|---|
| Schema | Action Schema |
| SchemaElement | Action Schema Element |
| Object | Action Object |
| ObjectElement | Action Object Element |