36 lines
703 B
C++
36 lines
703 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;
|
|
};
|