Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IAnimationDataController
Description
Changes the comment of the curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveCommentChanged notify if successful. Currently changing curve comments is only supported for float curves.
| Name | SetCurveComment |
| 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 SetCurveComment
(
const FAnimationCurveIdentifier & CurveId,
const FString & Comment,
bool bShouldTransact
)
Whether or not the curve comment was successfully changed
Parameters
| Name | Remarks |
|---|---|
| CurveId | Identifier of the curve to change the comment for |
| Comment | Comment to which the curve is to be set |
| bShouldTransact | Whether or not any undo-redo changes should be generated |