Navigation
API > API/Plugins > API/Plugins/IKRig
Description
Copies matching chain settings from one array to another at runtime.
Convenience function for retarget ops that need to copy per-chain settings between runtime instances of the same operation.
Only copies settings for chains that exist in both arrays.
Type T must implement:
- FName GetName()
- void SetName(FName InChainName)
| Name | IKRetargetOpUtils::CopyChainSettingsAtRuntime |
| Type | function |
| Header File | /Engine/Plugins/Animation/IKRig/Source/IKRig/Public/Retargeter/IKRetargetOpUtils.h |
| Include Path | #include "Retargeter/IKRetargetOpUtils.h" |
namespace IKRetargetOpUtils
{
template<typename T>
void IKRetargetOpUtils::CopyChainSettingsAtRuntime
(
const TArray < T > & InSettingsToCopyFrom,
TArray < T > & InSettingsToCopyTo
)
}
Parameters
| Name | Remarks |
|---|---|
| T | Custom struct type representing chain settings. |
| InSettingsToCopyFrom | Source array of chain settings. |
| InSettingsToCopyTo | Destination array to update. |