Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FSkeletonRemapping |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/SkeletonRemapping.h |
| Include Path | #include "Animation/SkeletonRemapping.h" |
Syntax
struct FSkeletonRemapping
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Animation/SkeletonRemapping.h | |||
FSkeletonRemapping
(
const USkeleton* InSourceSkeleton, |
Animation/SkeletonRemapping.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RetargetingTable | TArray< TTuple< FQuat, FQuat > > | Table of precalculated constants for retargeting from source to target (indexed by target skeleton bone index) | Animation/SkeletonRemapping.h | |
| SourceSkeleton | TWeakObjectPtr< const USkeleton > | Animation/SkeletonRemapping.h | ||
| SourceToTargetBoneIndexes | TArray< int32 > | Table of target skeleton bone indexes (indexed by source skeleton bone index) | Animation/SkeletonRemapping.h | |
| TargetSkeleton | TWeakObjectPtr< const USkeleton > | Animation/SkeletonRemapping.h | ||
| TargetToSourceBoneIndexes | TArray< int32 > | Table of source skeleton bone indexes (indexed by target skeleton bone index) | Animation/SkeletonRemapping.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ComposeWith
(
const FSkeletonRemapping& OtherSkeletonRemapping |
Compose this remapping with another remapping in place. | Animation/SkeletonRemapping.h | |
void GenerateCurveMapping() |
Animation/SkeletonRemapping.h | ||
const TWeakObjectPtr< const USkeleton > & GetSourceSkeleton() |
Animation/SkeletonRemapping.h | ||
int32 GetSourceSkeletonBoneIndex
(
int32 TargetSkeletonBoneIndex |
Get the source skeleton bone index that corresponds to the specified bone on the target skeleton | Animation/SkeletonRemapping.h | |
const TArray< SmartName::UID_Type > & GetSourceToTargetCurveMapping() |
Animation/SkeletonRemapping.h | ||
const TWeakObjectPtr< const USkeleton > & GetTargetSkeleton() |
Animation/SkeletonRemapping.h | ||
int32 GetTargetSkeletonBoneIndex
(
int32 SourceSkeletonBoneIndex |
Get the target skeleton bone index that corresponds to the specified bone on the source skeleton | Animation/SkeletonRemapping.h | |
bool IsValid() |
Check whether this mapping is valid - whether the source and target hierarchies still exist | Animation/SkeletonRemapping.h | |
void RegenerateMapping() |
Refreshes the mapping. Empties mapping arrays and regenerates them against the stored skeletons. | Animation/SkeletonRemapping.h | |
bool RequiresReferencePoseRetarget() |
Check to see if a reference pose retarget is required between the source & target hierarchies | Animation/SkeletonRemapping.h | |
FQuat RetargetAdditiveRotationToTargetSkeleton
(
int32 TargetSkeletonBoneIndex, |
Get the specified additive rotation retargeted from the source skeleton onto the target skeleton, corrected for differences between source and target rest poses | Animation/SkeletonRemapping.h | |
FTransform RetargetAdditiveTransformToTargetSkeleton
(
int32 TargetSkeletonBoneIndex, |
Get the specified additive transform retargeted from the source skeleton onto the target skeleton, corrected for differences between source and target rest poses | Animation/SkeletonRemapping.h | |
FVector RetargetAdditiveTranslationToTargetSkeleton
(
int32 TargetSkeletonBoneIndex, |
Get the specified additive translation retargeted from the source skeleton onto the target skeleton, corrected for differences between source and target rest poses | Animation/SkeletonRemapping.h | |
FQuat RetargetBoneRotationToTargetSkeleton
(
int32 TargetSkeletonBoneIndex, |
Get the specified bone rotation retargeted from the source skeleton onto the target skeleton, corrected for differences between source and target rest poses | Animation/SkeletonRemapping.h | |
FTransform RetargetBoneTransformToTargetSkeleton
(
int32 TargetSkeletonBoneIndex, |
Get the specified bone transform retargeted from the source skeleton onto the target skeleton, corrected for differences between source and target rest poses | Animation/SkeletonRemapping.h | |
FVector RetargetBoneTranslationToTargetSkeleton
(
int32 TargetSkeletonBoneIndex, |
Get the specified bone translation retargeted from the source skeleton onto the target skeleton, corrected for differences between source and target rest poses | Animation/SkeletonRemapping.h |