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=CurveData)
bool SetCurveComment
(
const FAnimationCurveIdentifier & CurveId,
const FString & Comment,
bool bShouldTransact
)
Remarks
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. Whether or not the curve comment was successfully changed
Parameters
| Name | Description |
|---|---|
| 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 |