FReferenceSkeletonModifier

Allow modifications to a reference skeleton while guaranteeing that virtual bones remain valid.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ReferenceSkeleton.h

Include

#include "ReferenceSkeleton.h"

Syntax

struct FReferenceSkeletonModifier

Remarks

Allow modifications to a reference skeleton while guaranteeing that virtual bones remain valid.

Constructors

Name Description

Public function

FReferenceSkeletonModifier

(
    FReferenceSkeleton& InRefSkel,
    const USkeleton* InSkeleton
)

Destructors

Functions

Name Description

Public function

void

 

Add

(
    const FMeshBoneInfo& BoneInfo,
    const FTransform& BonePose
)

Add a new bone. BoneName must not already exist! ParentIndex must be valid.

Public function Const

int32

 

FindBoneIndex

(
    const FName& BoneName
)

Find Bone Index from BoneName. Precache as much as possible in speed critical sections!

Public function Const

const TArray...

 

GetRefBoneInfo()

Accessor to private data. Const so it can't be changed recklessly.

Public function Const

const FRefer...

 

GetReferenceSkeleton()

Public function

void

 

UpdateRefPoseTransform

(
    const int32 BoneIndex,
    const FTransform& BonePose
)

Update the reference pose transform of the specified bone.

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