Navigation
API > API/Plugins > API/Plugins/IKRig
Description
Resets the settings for a specific IK chain to its default values.
Convenience function for retarget ops that manage per-chain settings arrays. Finds the matching chain by name and replaces its settings with a new default-constructed instance.
Type T must:
If no matching chain is found, this function does nothing.
| Name | IKRetargetOpUtils::ResetChainSettingsToDefault |
| 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::ResetChainSettingsToDefault
(
TArray < T > & InChainSettingsArray,
const FName & InChainName
)
}
Parameters
| Name | Remarks |
|---|---|
| T | Custom struct type representing chain settings. |
| InChainSettingsArray | Array of chain settings to search and modify. |
| InChainName | Name of the chain to reset. |