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
&40;
USkeletalMeshComponent &42; InSkelMeshComp,
bool bUseAnimInstance
&41;
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)