Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IAnimationDataController
Description
Changes the attributes of the curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveChanged notify if successful.
| Name | SetCurveAttributes |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include Path | #include "Animation/AnimData/IAnimationDataController.h" |
bool SetCurveAttributes
(
const FAnimationCurveIdentifier & CurveId,
const FCurveAttributes & Attributes,
bool bShouldTransact
)
Whether or not the curve attributes were set successfully
Parameters
| Name | Remarks |
|---|---|
| CurveId | Identifier of the curve to change the color for |
| Attributes | Attribute values to be applied |
| bShouldTransact | Whether or not any undo-redo changes should be generated |