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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback