Navigation
Unreal Engine C++ API Reference > Developer > AnimationDataController > UAnimDataController
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 SetCurveAttributes ( const [FAnimationCurveIdentifier](API\Runtime\Engine\Animation\AnimData\FAnimationCurveIdentifier) & CurveId, const [FCurveAttributes](API\Runtime\Engine\Curves\FCurveAttributes) & Attributes, bool bShouldTransact )
Remarks
Changes the attributes of the curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveChanged notify if successful. Whether or not the curve attributes were set successfully
Parameters
Name | Description |
---|---|
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 |