Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterEditor
Validation context used to encapsulate the validation process of MetaHuman Character items
| Name | UMetaHumanCharacterValidationContext |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterEditor/Public/Verification/MetaHumanCharacterValidation.h |
| Include Path | #include "Verification/MetaHumanCharacterValidation.h" |
Syntax
UCLASS ()
class UMetaHumanCharacterValidationContext :
public UObject ,
public IMetaHumanValidationContext
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMetaHumanCharacterValidationContext
Implements Interfaces
Structs
| Name | Remarks |
|---|---|
| FBeginReportParams | |
| FScopedReport | Utility to scope a report making sure its closed on the end of a scope. |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCancelled | bool | True if the report was cancelled. | Verification/MetaHumanCharacterValidation.h | |
| bSilent | bool | Makes the internal report silent, meaning no messages are to be printed in the logs. | Verification/MetaHumanCharacterValidation.h | |
| ObjectBeingValidated | TObjectPtr< UObject > | The object being validated. | Verification/MetaHumanCharacterValidation.h | |
| TokenizedMessages | TArray< TSharedRef< FTokenizedMessage > > | Current list of messages the report contains. | Verification/MetaHumanCharacterValidation.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< FTokenizedMessage > AddMessage
(
EMessageSeverity::Type InSeverity |
Adds a new message to the report of the given severity. | Verification/MetaHumanCharacterValidation.h | |
void CancelReport() |
Cancel the current report meaning that when EndReport is called no messages are going to be displayed in the Message Log. | Verification/MetaHumanCharacterValidation.h | |
void EndReport() |
Ends the current report and displays the Message Log if there are errors or warnings collected in the report. | Verification/MetaHumanCharacterValidation.h | |
const TArray< TSharedRef< FTokenizedMessage > > & GetMessages() |
Return all the messages currently stored in the context. | Verification/MetaHumanCharacterValidation.h | |
virtual bool ValidateWardrobeItem
(
const UMetaHumanWardrobeItem* InWardrobeItem |
Verification/MetaHumanCharacterValidation.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UMetaHumanCharacterValidationContext * BeginReport
(
const FBeginReportParams& InReportParams |
Begin a new report by constructing a validation context that can be used to validate items. | Verification/MetaHumanCharacterValidation.h |