UBlendProfile

A blend profile is a set of per-bone scales that can be used in transitions and blend lists to tweak the weights of specific bones.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/BlendProfile.h

Include

#include "Animation/BlendProfile.h"

Syntax

class UBlendProfile :
    public UObject,
    public IInterpolationIndexProvider

Remarks

A blend profile is a set of per-bone scales that can be used in transitions and blend lists to tweak the weights of specific bones. The scales are applied to the normal weight for that bone

Variables

Name Description

Public variable

USkeleton *

 

OwningSkeleton

The skeleton that owns this profile.

Public variable

TArray< FBlendP...

 

ProfileEntries

List of blend scale entries.

Constructors

Name Description

Public function

UBlendProfile()

Functions

Name Description

Public function Const

float

 

GetBoneBlendScale

(
    int32 InBoneIdx
)

Get the set blend scale for the specified bone, will return 1.0f if no entry was found (no scale)

Public function Const

float

 

GetBoneBlendScale

(
    const FName& InBoneName
)

Get the set blend scale for the specified bone, will return 1.0f if no entry was found (no scale)

Public function Const

float

 

GetEntryBlendScale

(
    const int32 InEntryIdx
)

Get the blend scale stored in a specific entry

Public function Const

int32

 

GetEntryIndex

(
    const int32 InBoneIdx
)

Get the index of the entry for the specified bone

Public function Const

int32

 

GetEntryIndex

(
    const FName& BoneName
)

Get the index of the entry for the specified bone

Public function Const

int32

 

GetNumBlendEntries()

Get the number of entries in the profile (an entry is any blend scale that isn't 1.0f)

Public function

void

 

SetBoneBlendScale

(
    int32 InBoneIdx,
    float InScale,
    bool bRecurse,
    bool bCreate
)

Set the blend scale for a specific bone

Public function

void

 

SetBoneBlendScale

(
    const FName& InBoneName,
    float InScale,
    bool bRecurse,
    bool bCreate
)

Set the blend scale for a specific bone

Overridden from UObject

Name Description

Public function Virtual Const

bool

 

IsSafeForRootSet()

UObject.

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Overridden from IInterpolationIndexProvider

Name Description

Public function Virtual Const

int32

 

GetPerBoneInterpolationIndex

(
    int32 BoneIndex,
    const FBoneContainer& RequiredBone...
)

IInterpolationIndexProvider.

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