Files
UnrealEngine/Engine/Source/Runtime/InteractiveToolsFramework/Public/TargetInterfaces/StaticMeshBackedTarget.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

37 lines
751 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(MinimalAPI)
class UStaticMeshBackedTarget : public UAssetBackedTarget
{
GENERATED_BODY()
};
class 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;
};