Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkeleton
Description
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
| Name | UpdateReferencePoseFromMesh |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/Skeleton.h |
| Include Path | #include "Animation/Skeleton.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/Skeleton.cpp |
void UpdateReferencePoseFromMesh
(
const USkinnedAsset * InSkinnedAsset
)
true if successful. false if InSkinnedAsset wasn't compatible with the bone hierarchy