Files
UnrealEngineUWP/Engine/Source/Runtime/InteractiveToolsFramework/Public/TargetInterfaces/StaticMeshBackedTarget.h
michael balzer 2b10993563 Move InteractiveToolsFramework and GeometryFramework out of Experimental
#jira UETOOL-3823
#rb brooke.hubert
#preflight 6109d1e9b4288d0001acb7ef

[CL 17055606 by michael balzer in ue5-main branch]
2021-08-04 13:58:55 -04:00

36 lines
800 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Engine/EngineTypes.h"
#include "Engine/StaticMesh.h"
#include "UObject/Interface.h"
#include "TargetInterfaces/AssetBackedTarget.h"
#include "StaticMeshBackedTarget.generated.h"
UINTERFACE()
class INTERACTIVETOOLSFRAMEWORK_API UStaticMeshBackedTarget : public UAssetBackedTarget
{
GENERATED_BODY()
};
class INTERACTIVETOOLSFRAMEWORK_API IStaticMeshBackedTarget : public IAssetBackedTarget
{
GENERATED_BODY()
public:
/**
* @return the underlying source asset for this Target.
*/
virtual UObject* GetSourceData() const override
{
return GetStaticMesh();
}
/**
* @return the underlying source StaticMesh asset for this Target
*/
virtual UStaticMesh* GetStaticMesh() const = 0;
};