You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb Nathan.Mitchell, Ryan.Schmidt #jira none #preflight 6377f29c2a05dabce9561a39 [CL 23206945 by semion piskarev in ue5-main branch]
33 lines
891 B
C++
33 lines
891 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Features/IModularFeature.h"
|
|
|
|
/**
|
|
* This interface acts as a connector to the (optional) UV Editor plugin. If the plugin is available,
|
|
* then it can be retrieved via IModularFeatures::Get().GetModularFeatureImplementation or related methods.
|
|
*/
|
|
class IUVEditorModularFeature : public IModularFeature
|
|
{
|
|
public:
|
|
virtual ~IUVEditorModularFeature() {}
|
|
|
|
virtual void LaunchUVEditor(const TArray<TObjectPtr<UObject>>& Objects)
|
|
{
|
|
check(false); // not implemented in base class
|
|
}
|
|
|
|
virtual bool CanLaunchUVEditor(const TArray<TObjectPtr<UObject>>& Objects)
|
|
{
|
|
check(false); // not implemented in base class
|
|
return false;
|
|
}
|
|
|
|
// Modular feature name to register for retrieval during runtime
|
|
static const FName GetModularFeatureName()
|
|
{
|
|
return TEXT("UVEditorModularFeature");
|
|
}
|
|
}; |