Navigation
API > API/Plugins > API/Plugins/IKRig > API/Plugins/IKRig/FIKRetargetProcessor
Warnings * - Initialization does a lot of validation and can fail for many reasons. Check bIsLoadedAndValid afterwards.
Description
Initialize the retargeter to enable running it.
- Initialization does a lot of validation and can fail for many reasons. Check bIsLoadedAndValid afterwards.
| Name | Initialize |
| Type | function |
| Header File | /Engine/Plugins/Animation/IKRig/Source/IKRig/Public/Retargeter/IKRetargetProcessor.h |
| Include Path | #include "Retargeter/IKRetargetProcessor.h" |
| Source | /Engine/Plugins/Animation/IKRig/Source/IKRig/Private/Retargeter/IKRetargetProcessor.cpp |
void Initialize
(
const USkeletalMesh * SourceSkeleton,
const USkeletalMesh * TargetSkeleton,
const UIKRetargeter * InRetargeterAsset,
const FRetargetProfile & InRetargetProfile,
const bool bSuppressWarnings
)
Parameters
| Name | Remarks |
|---|---|
| SourceSkeleton | the skeletal mesh to poses FROM |
| TargetSkeleton | the skeletal mesh to poses TO |
| InRetargeterAsset | the source asset to use for retargeting settings |
| InRetargetProfile | the collection of settings used to initialize with |
| bSuppressWarnings | if true, will not output warnings during initialization |