Files
UnrealEngineUWP/Engine/Source/Runtime/InteractiveToolsFramework/Public/TargetInterfaces/SkeletalMeshBackedTarget.h
henrik karlsson 5db685f97d [Engine]
* 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]
2023-06-17 18:13:06 -04:00

36 lines
706 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Engine/SkeletalMesh.h"
#include "TargetInterfaces/AssetBackedTarget.h"
#include "SkeletalMeshBackedTarget.generated.h"
UINTERFACE(MinimalAPI)
class USkeletalMeshBackedTarget : public UAssetBackedTarget
{
GENERATED_BODY()
};
class ISkeletalMeshBackedTarget : public IAssetBackedTarget
{
GENERATED_BODY()
public:
/**
* @return the underlying source asset for this Target.
*/
virtual UObject* GetSourceData() const override
{
return GetSkeletalMesh();
}
/**
* @return the underlying source USkeletalMesh asset for this Target
*/
virtual USkeletalMesh* GetSkeletalMesh() const = 0;
};