USkeleton::UpdateReferencePoseFromMesh

Create RefLocalPoses from InSkelMesh.

Windows
MacOS
Linux

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

Syntax

void UpdateReferencePoseFromMesh
(
    const USkeletalMesh * InSkelMesh
)

Remarks

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

Returns

true if successful. false if skeletalmesh wasn't compatible with the bone hierarchy

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss