Navigation
API > API/Developer > API/Developer/AnimationDataController > API/Developer/AnimationDataController/UAnimDataController
- IAnimationDataController::SetCurveColor()
- UAnimDataController::SetCurveColor()
References
| Module | AnimationDataController |
| Header | /Engine/Source/Developer/AnimationDataController/Public/AnimDataController.h |
| Include | #include "AnimDataController.h" |
| Source | /Engine/Source/Developer/AnimationDataController/Private/AnimDataController.cpp |
virtual bool SetCurveColor
&40;
const FAnimationCurveIdentifier & CurveId,
FLinearColor Color,
bool bShouldTransact
&41;
Remarks
Changes the color of the curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveRenamed notify if successful. Currently changing curve colors is only supported for float curves. Whether or not the curve color was successfully changed
Parameters
| Name | Description |
|---|---|
| CurveId | Identifier of the curve to change the color for |
| Color | Color to which the curve is to be set |
| bShouldTransact | Whether or not any undo-redo changes should be generated |