Navigation
API > API/Plugins > API/Plugins/UAF > API/Plugins/UAF/FRetargetingTools
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void RetargetBoneTransform
(
const FReferencePose& TargetReferencePose, |
Translation retarget a pose. | RetargetingTools.h | |
static void RetargetBoneTransform
(
const FReferencePose& TargetReferencePose, |
Translation retarget a pose. | RetargetingTools.h |
RetargetBoneTransform(const FReferencePose &, const USkeleton , const USkeleton , const FName &, FTransform &, const int32, const int32, const bool, const bool)
Description
Translation retarget a pose. Convenience path that pulls the source’s ref local poses (RetargetSource) and forwards to the explicit-transform overload.
| Name | RetargetBoneTransform |
| Type | function |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/RetargetingTools.h |
| Include Path | #include "RetargetingTools.h" |
static void RetargetBoneTransform
(
const FReferencePose & TargetReferencePose,
const USkeleton * SourceSkeleton,
const USkeleton * TargetSkeleton,
const FName & RetargetSource,
FTransform & BoneTransform,
const int32 SkeletonBoneIndex,
const int32 LODBoneIndex,
const bool bIsBakedAdditive,
const bool bDisableRetargeting
)
Parameters
| Name | Remarks |
|---|---|
| TargetReferencePose | Target reference pose. |
| SourceSkeleton | Source skeleton to retarget from. |
| TargetSkeleton | Retargeting target skeleton. |
| RetargetTransforms | The name of the retarget source to find. |
| BoneTransform | . |
| SkeletonBoneIndex | Target skeleton bone index. |
| LODBoneIndex | Bone index in current LOD view. |
| bIsBakedAdditive | Treat input as baked additive. |
| bDisableRetargeting | Early-out passthrough. |
RetargetBoneTransform(const FReferencePose &, const USkeleton , const USkeleton , const FName &, const TArray< FTransform > &, FTransform &, const int32, const int32, const bool, const bool)
Description
Translation retarget a pose. Applies the bone’s EBoneTranslationRetargetingMode:
- AnimationScaled: scale local translation by source/target ref-length ratio.
- AnimationRelative: transfer delta from authored base into target basis. and add to current transform (skip if baked additive upstream).
- OrientAndScale: orientation-aware scaling when enabled.
| Name | RetargetBoneTransform |
| Type | function |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/RetargetingTools.h |
| Include Path | #include "RetargetingTools.h" |
| Source | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Private/RetargetingTools.cpp |
static void RetargetBoneTransform
(
const FReferencePose & TargetReferencePose,
const USkeleton * SourceSkeleton,
const USkeleton * TargetSkeleton,
const FName & SourceName,
const TArray < FTransform > & RetargetTransforms,
FTransform & BoneTransform,
const int32 SkeletonBoneIndex,
const int32 LODBoneIndex,
const bool bIsBakedAdditive,
const bool bDisableRetargeting
)