Language:
Discover
By Skill Level
By Category

EditorAnimUtils::DuplicateAssets

Choose your OS:

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.

TMap of original animation to duplicate

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

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/EditorAnimUtils.h