Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | FAnimationRetargetContext |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorAnimUtils.h |
| Include Path | #include "EditorAnimUtils.h" |
Syntax
class FAnimationRetargetContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAnimationRetargetContext
(
const TArray< FAssetData >& AssetsToRetarget, |
EditorAnimUtils.h | ||
FAnimationRetargetContext
(
TArray< TWeakObjectPtr< UObject > > AssetsToRetarget, |
EditorAnimUtils.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AnimationAssetsToRetarget | TArray< UAnimationAsset * > | Lists of assets to retarget. | EditorAnimUtils.h | |
| AnimBlueprintsToRetarget | TArray< UAnimBlueprint * > | EditorAnimUtils.h | ||
| bConvertAnimationDataInComponentSpaces | bool | Whether to convert animation data in component spaces | EditorAnimUtils.h | |
| DuplicatedAnimAssets | TMap< UAnimationAsset *, UAnimationAsset * > | Lists of original assets map to duplicate assets | EditorAnimUtils.h | |
| DuplicatedBlueprints | TMap< UAnimBlueprint *, UAnimBlueprint * > | EditorAnimUtils.h | ||
| RemappedAnimAssets | TMap< UAnimationAsset *, UAnimationAsset * > | EditorAnimUtils.h | ||
| SingleTargetObject | UObject * | If we only chose one object to retarget store it here | EditorAnimUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddRemappedAsset
(
UAnimationAsset* OriginalAsset, |
EditorAnimUtils.h | ||
void DuplicateAssetsToRetarget
(
UPackage* DestinationPackage, |
Duplicates the assets stored for retargetting, populating maps of original assets to new asset | EditorAnimUtils.h | |
| Return all duplicates | EditorAnimUtils.h | ||
| Returns the duplicate of the supplied object if there is one, otherwise NULL | EditorAnimUtils.h | ||
UObject * GetSingleTargetObject() |
Returns the UObject that was chosen to retarget if there was only one in the first place | EditorAnimUtils.h | |
bool HasAssetsToRetarget() |
Were we supplied anything that we can retarget | EditorAnimUtils.h | |
bool HasDuplicates() |
Did we duplicate any assets | EditorAnimUtils.h | |
| Retarget the contained assets | EditorAnimUtils.h |