UEditorValidatorBase::AssetFails

Choose your operating system:

Windows

macOS

Linux

References

Module

DataValidation

Header

/Engine/Plugins/Editor/DataValidation/Source/DataValidation/Public/EditorValidatorBase.h

Include

#include "EditorValidatorBase.h"

Source

/Engine/Plugins/Editor/DataValidation/Source/DataValidation/Private/EditorValidatorBase.cpp

Syntax

UFUNCTION(BlueprintCallable, Category="Asset Validation")
void AssetFails
(
    UObject * InAsset,
    const FText & InMessage,
    TArray< FText > & ValidationErrors
)