Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/UControlRig
- UControlRig::SetBoneInitialTransformsFromSkeletalMeshComponent()
- UFKControlRig::SetBoneInitialTransformsFromSkeletalMeshComponent()
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/ControlRig.h |
| Include | #include "ControlRig.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/ControlRig.cpp |
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)