UAnimPoseExtensions::GetRefPoseRelativeTransform

Retrieves the relative transform for the reference pose between the two provided bone names

Choose your operating system:

Windows

macOS

Linux

References

Module

AnimationBlueprintLibrary

Header

/Engine/Source/Editor/AnimationBlueprintLibrary/Public/AnimPose.h

Include

#include "AnimPose.h"

Source

/Engine/Source/Editor/AnimationBlueprintLibrary/Private/AnimPose.cpp

Syntax

static FTransform GetRefPoseRelativeTransform
(
    const FAnimPose & Pose,
    FName FromBoneName,
    FName ToBoneName,
    EAnimPoseSpaces Space
)

Remarks

Retrieves the relative transform for the reference pose between the two provided bone names

Returns

Relative transform in requested space for bone if found, otherwise return identity transform

Parameters

Parameter

Description

Pose

Anim Pose to retrieve the transform from

FromBoneName

Name of the bone to retrieve the transform relative from

ToBoneName

Name of the bone to retrieve the transform relative to

Space

Space in which the transform should be retrieved