Files
UnrealEngine/Engine/Source/Runtime/InteractiveToolsFramework/Public/TargetInterfaces/SkeletalMeshBackedTarget.h
2025-05-18 13:04:45 +08:00

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;
};