EditorAnimUtils::DuplicateAssets

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

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss