UFKControlRig::SetBoneInitialTransformsFromSkeletalMeshComponent

Setup the initial transform / ref pose of the bones based upon skeletal mesh component (ref skeleton) This uses the RefSkeleton pose instead of the current refpose (or vice versae is bUseAnimInstance == true)

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UControlRig::SetBoneInitialTransformsFromSkeletalMeshComponent()

UFKControlRig::SetBoneInitialTransformsFromSkeletalMeshComponent()

References

Module

ControlRig

Header

/Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/FKControlRig.h

Include

#include "Rigs/FKControlRig.h"

Source

/Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/Rigs/FKControlRig.cpp

Syntax

virtual void SetBoneInitialTransformsFromSkeletalMeshComponent
(
    USkeletalMeshComponent * InSkelMeshComp,
    bool bUseAnimInstance
)

Remarks

Setup the initial transform / ref pose of the bones based upon skeletal mesh component (ref skeleton) This uses the RefSkeleton pose instead of the current refpose (or vice versae is bUseAnimInstance == true)