Language:
Discover
By Skill Level
By Category

FAnimationRetargetContext

Choose your OS:

Syntax

class FAnimationRetargetContext

Constructors

Name Description

Public function

FAnimationRetargetContext

(
    const TArray < FAssetData >& Assets...,
    bool bRetargetReferredAssets,
    bool bInConvertAnimationDataInCompo...,
    const FNameDuplicationRule & NameRu...
)

FAnimationRetargetContext .

Public function

FAnimationRetargetContext

(
    TArray < TWeakObjectPtr < UObject >> ...,
    bool bRetargetReferredAssets,
    bool bInConvertAnimationDataInCompo...,
    const FNameDuplicationRule & NameRu...
)

Functions

Name Description

Public function

void

 

AddRemappedAsset

(
    UAnimationAsset * OriginalAsset,
    UAnimationAsset * NewAsset
)

Public function

void

 

DuplicateAssetsToRetarget

(
    UPackage * DestinationPackage,
    const FNameDuplicationRule * Na...
)

Duplicates the assets stored for retargetting, populating maps of original assets to new asset

Public function

TArray < UObj ...

 

GetAllDuplicates()

Return all duplicates

Public function

UObject *...

 

GetDuplicate

(
    const UObject * OriginalObject
)

Returns the duplicate of the supplied object if there is one, otherwise NULL

Public function

UObject *...

 

GetSingleTargetObject()

Returns the UObject that was chosen to retarget if there was only one in the first place

Public function

bool

 

HasAssetsToRetarget()

Were we supplied anything that we can retarget

Public function

bool

 

HasDuplicates()

Did we duplicate any assets

Public function

void

 

RetargetAnimations

(
    USkeleton * OldSkeleton,
    USkeleton * NewSkeleton
)

Retarget the contained assets

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/EditorAnimUtils.h