Navigation
API > API/Plugins > API/Plugins/IKRig
Warnings * The returned pointer refers to memory owned by the array. It becomes invalid if the array is modified or reallocated. Use with caution.
Description
Returns a raw pointer to the memory of a specific chain’s settings instance.
Type T must implement:
- FName GetName()
The returned pointer refers to memory owned by the array. It becomes invalid if the array is modified or reallocated. Use with caution.
| Name | IKRetargetOpUtils::GetChainSettingsMemory |
| 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>
uint8 * IKRetargetOpUtils::GetChainSettingsMemory
(
TArray < T > & InChainSettingsArray,
const FName & InChainName
)
}
Pointer to the chain’s settings in memory, or nullptr 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 whose settings memory address should be returned. |