FIKRetargetBatchOperation::DuplicateAssets

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

Choose your operating system:

Windows

macOS

Linux

References

Module

IKRigEditor

Header

/Engine/Plugins/Animation/IKRig/Source/IKRigEditor/Public/RetargetEditor/IKRetargetBatchOperation.h

Include

#include "RetargetEditor/IKRetargetBatchOperation.h"

Source

/Engine/Plugins/Animation/IKRig/Source/IKRigEditor/Private/RetargetEditor/IKRetargetBatchOperation.cpp

Syntax

template<class AssetType>
static TMap< AssetType *, AssetType * > DuplicateAssets
(
    const TArray< AssetType * > & AssetsToDuplicate,
    UPackage * DestinationPackage,
    const EditorAnimUtils::FNameDuplicationRule * NameRule
)

Remarks

Duplicates the supplied AssetsToDuplicate and returns a map of original asset to duplicate. Templated wrapper that calls DuplicateAssetInternal.

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

AssetsToDuplicate

The animations to duplicate

DestinationPackage

The package that the duplicates should be placed in

NameRule

The rules for how to rename the duplicated assets