// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "HAL/Platform.h" #include "MuR/Ptr.h" #include "MuR/RefCounted.h" #include "MuT/NodeMaterial.h" #define UE_API MUTABLETOOLS_API namespace UE::Mutable::Private { /** NodeMaterialVariation class. */ class NodeMaterialVariation : public NodeMaterial { public: Ptr DefaultMaterial; struct FVariation { Ptr Material; FString Tag; }; TArray Variations; public: // Node Interface virtual const FNodeType* GetType() const override { return &StaticType; } static const FNodeType* GetStaticType() { return &StaticType; } protected: // Forbidden. Manage with the Ptr<> template. inline ~NodeMaterialVariation() {} private: static UE_API FNodeType StaticType; }; } #undef UE_API