You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UETOOL-3823 #rb brooke.hubert #preflight 6109d1e9b4288d0001acb7ef [CL 17055606 by michael balzer in ue5-main branch]
36 lines
800 B
C++
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;
|
|
}; |