Navigation
API > API/Developer > API/Developer/AnimationDataController > API/Developer/AnimationDataController/UAnimDataController
- IAnimationDataController::AddCurve()
- UAnimDataController::AddCurve()
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 AddCurve
&40;
const FAnimationCurveIdentifier & CurveId,
int32 CurveFlags,
bool bShouldTransact
&41;
Remarks
Adds a new curve with the provided information. Broadcasts a EAnimDataModelNotifyType::CurveAdded notify if successful. Whether or not the curve was successfully added
Parameters
| Name | Description |
|---|---|
| CurveId | Identifier for the to-be-added curve |
| CurveFlags | Flags to be set for the curve |
| bShouldTransact | Whether or not any undo-redo changes should be generated |