Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/AnimData > API/Runtime/Engine/Animation/AnimData/IAnimationDataController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include | #include "Animation/AnimData/IAnimationDataController.h" |
UFUNCTION (BlueprintCallable, Category=AttributeData)
bool DuplicateAttribute
(
const FAnimationAttributeIdentifier & AttributeIdentifier,
const FAnimationAttributeIdentifier & NewAttributeIdentifier,
bool bShouldTransact
)
Remarks
Duplicated the attribute (curve) with the identifier. Broadcasts a EAnimDataModelNotifyType::AttributeAdded notify if successful. Whether or not the attribute was successfully duplicated
Parameters
| Name | Description |
|---|---|
| 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 |