Navigation
API > API/Plugins > API/Plugins/IKRig
Description
Checks whether the settings for a specific chain are at their default values.
Generic utility function for retarget ops that manage per-chain settings arrays. Compares the specified chain’s current settings to a default-constructed instance.
Type T must:
- Implement FName GetName()
- Provide a constructor that accepts a chain name (FName)
- Implement operator== for equality comparison
| Name | IKRetargetOpUtils::AreChainSettingsAtDefault |
| 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>
bool IKRetargetOpUtils::AreChainSettingsAtDefault
(
const TArray < T > & InChainSettingsArray,
const FName & InChainName
)
}
True if the chain’s settings match the default values, or if the chain is not found.
Parameters
| Name | Remarks |
|---|---|
| T | Custom struct type representing chain settings. |
| InChainSettingsArray | Array of chain settings to search. |
| InChainName | Name of the chain to compare. |