Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Animation/Skeleton.h |
Include |
#include "Animation/Skeleton.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Animation/Skeleton.cpp |
void UpdateReferencePoseFromMesh
(
const USkeletalMesh * InSkelMesh
)
Create RefLocalPoses from InSkelMesh. Note InSkelMesh cannot be null and this function will assert if it is.
If bClearAll is false, it will overwrite ref pose of bones that are found in InSkelMesh If bClearAll is true, it will reset all Reference Poses Note that this means it will remove transforms of extra bones that might not be found in this skeletalmesh
true if successful. false if skeletalmesh wasn't compatible with the bone hierarchy