Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IAnimationDataController
Description
Duplicated the attribute (curve) with the identifier. Broadcasts a EAnimDataModelNotifyType::AttributeAdded notify if successful.
| Name | DuplicateAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include Path | #include "Animation/AnimData/IAnimationDataController.h" |
UFUNCTION (BlueprintCallable, Category=AttributeData)
bool DuplicateAttribute
(
const FAnimationAttributeIdentifier & AttributeIdentifier,
const FAnimationAttributeIdentifier & NewAttributeIdentifier,
bool bShouldTransact
)
Whether or not the attribute was successfully duplicated
Parameters
| Name | Remarks |
|---|---|
| AttributeIdentifier | Identifier for the to-be-duplicated attribute |
| NewAttributeIdentifier | Identifier for the to-be-added attribute |
| bShouldTransact | Whether or not any undo-redo changes should be generated |