Navigation
API > API/Plugins > API/Plugins/IKRigEditor > API/Plugins/IKRigEditor/RetargetEditor > API/Plugins/IKRigEditor/RetargetEditor/UIKRetargetBatchOperation
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 |
UFUNCTION&40;BlueprintCallable, Category&61;IKBatchRetarget&41;
static TArray< FAssetData > DuplicateAndRetarget
&40;
const TArray< FAssetData > & AssetsToRetarget,
USkeletalMesh &42; SourceMesh,
USkeletalMesh &42; TargetMesh,
UIKRetargeter &42; IKRetargetAsset,
const FString & Search,
const FString & Replace,
const FString & Prefix,
const FString & Suffix,
const bool bRemapReferencedAssets
&41;
Remarks
Convenience function to run a batch animation retarget from Blueprint / Python. This function will duplicate a list of assets and use the supplied IK Retargeter to retarget the animation from the source to the target using the settings in the provided IK Retargeter asset.
Return: list of new animation files created.
Parameters
| Name | Description |
|---|---|
| AssetsToRetarget | A list of animation assets to retarget (sequences, blendspaces or montages) |
| SourceMesh | The skeletal mesh with desired proportions to playback the assets to retarget |
| TargetMesh | The skeletal mesh to retarget the animation onto. |
| IKRetargetAsset | The IK Retargeter asset with IK Rigs appropriate for the source and target skeletal mesh |
| Search | A string to search for in the file name (replaced with "Replace" string) |
| Replace | A string to replace with in the file name |
| Suffix | A string to add at the end of the new file name |
| Prefix | A string to add to the start of the new file name |
| bRemapReferencedAssets | Whether to remap existing references in the animation assets |