RealtimeStyleTransferRuntime/Source/LyraEditor/Validation/EditorValidator_MaterialFun...

25 lines
638 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/Array.h"
#include "EditorValidator.h"
#include "UObject/UObjectGlobals.h"
#include "EditorValidator_MaterialFunctions.generated.h"
class FText;
class UObject;
UCLASS()
class UEditorValidator_MaterialFunctions : public UEditorValidator
{
GENERATED_BODY()
public:
UEditorValidator_MaterialFunctions();
protected:
virtual bool CanValidateAsset_Implementation(UObject* InAsset) const override;
virtual EDataValidationResult ValidateLoadedAsset_Implementation(UObject* InAsset, TArray<FText>& ValidationErrors) override;
};