Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/USkeleton
References
Module | Engine |
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
&40;
const USkinnedAsset &42; InSkinnedAsset
&41;
Remarks
Create RefLocalPoses from InSkinnedAsset. Note InSkinnedAsset 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 InSkinnedAsset true if successful. false if InSkinnedAsset wasn't compatible with the bone hierarchy