Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/EditorAnimUtils.h |
| Include | #include "EditorAnimUtils.h" |
namespace EditorAnimUtils
{
template<class AssetType>
TMap < AssetType *, AssetType * > EditorAnimUtils::DuplicateAssets
(
const TArray < AssetType * > & AssetsToDuplicate,
UPackage * DestinationPackage,
const FNameDuplicationRule * NameRule
)
}
Remarks
Duplicates the supplied AssetsToDuplicate and returns a map of original asset to duplicate. Templated wrapper that calls DuplicateAssetInternal. TMap of original animation to duplicate
Parameters
| Name | Description |
|---|---|
| AssetsToDuplicate | The animations to duplicate |
| DestinationPackage | The package that the duplicates should be placed in |
| NameRule | Options for renaming the file, adding prefix/suffix or search/replace |