27 lines
884 B
C
27 lines
884 B
C
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
/*=============================================================================
|
||
|
|
InternalImportUtils.h: Internal import utils functions.
|
||
|
|
=============================================================================*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "CoreMinimal.h"
|
||
|
|
|
||
|
|
class UObject;
|
||
|
|
class UAssetImportData;
|
||
|
|
|
||
|
|
namespace InternalImportUtils
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* Returns true if the asset was imported with FBX importer and is using the "Material Slot Name Workflow".
|
||
|
|
*/
|
||
|
|
bool IsUsingMaterialSlotNameWorkflow(UAssetImportData* AssetImportData);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Add and override the values of ExistingUMetaDataTagValues metadata map in the TargetObject package.
|
||
|
|
* The existing metadata in the package are not removed.
|
||
|
|
*/
|
||
|
|
void RestoreMetaData(UObject* TargetObject, const TMap<FName, FString>& ExistingUMetaDataTagValues);
|
||
|
|
} // namespace InternalImportUtils
|