Files
UnrealEngine/Engine/Plugins/Mutable/Source/CustomizableObjectEditor/Public/MuCOE/ICustomizableObjectExtensionNode.h
2025-05-18 13:04:45 +08:00

27 lines
704 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "MuT/NodeExtensionData.h"
#include "UObject/Interface.h"
#include "ICustomizableObjectExtensionNode.generated.h"
class FExtensionDataCompilerInterface;
/** Customizable Object graph nodes that output FExtensionData should implement this interface */
UINTERFACE()
class CUSTOMIZABLEOBJECTEDITOR_API UCustomizableObjectExtensionNode : public UInterface
{
GENERATED_BODY()
};
class ICustomizableObjectExtensionNode
{
GENERATED_BODY()
public:
/** Generate a mu::Node that produces FExtensionData */
virtual mu::Ptr<mu::NodeExtensionData> GenerateMutableNode(FExtensionDataCompilerInterface& CompilerInterface) const = 0;
};