Navigation
API > API/Plugins > API/Plugins/IKRig
Description
Responds to an IK Rig chain being renamed by updating the corresponding entry in a settings array.
Convenience function for retarget ops that maintain custom per-chain settings.
Type T must implement:
- FName GetName()
- void SetName(FName InChainName)
| Name | IKRetargetOpUtils::OnRetargetChainRenamed |
| 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::OnRetargetChainRenamed
(
TArray < T > & InOutChainSettings,
const FName InOldChainName,
const FName InNewChainName
)
}
Parameters
| Name | Remarks |
|---|---|
| T | Custom struct type representing chain settings. |
| InOutChainSettings | Array of chain settings to update. |
| InOldChainName | Previous name of the chain. |
| InNewChainName | New name of the chain. |