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