EditorAnimUtils::DuplicateAssets

Duplicates the supplied AssetsToDuplicate and returns a map of original asset to duplicate.

Choose your operating system:

Windows

macOS

Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorAnimUtils.h

Include

#include "EditorAnimUtils.h"

Syntax

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.

Returns

TMap of original animation to duplicate

Parameters

Parameter

Description

AssetsToDuplicate

The animations to duplicate

DestinationPackage

The package that the duplicates should be placed in