You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds [CL 26082269 by henrik karlsson in ue5-main branch]
37 lines
751 B
C++
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;
|
|
};
|