Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IAnimationDataController
Description
Renames the curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveRenamed notify if successful.
| Name | RenameCurve |
| 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 RenameCurve
(
const FAnimationCurveIdentifier & CurveToRenameId,
const FAnimationCurveIdentifier & NewCurveId,
bool bShouldTransact
)
Whether or not the curve was successfully renamed
Parameters
| Name | Remarks |
|---|---|
| CurveToRenameId | Identifier for the curve to be renamed |
| NewCurveId | Time of the key to be removed |
| bShouldTransact | Whether or not any undo-redo changes should be generated |